ComplexDecomposition
This block, depending on the choice of the decomposition type, outputs two real signals obtained from the decomposition of the unique complex input into the real and imaginary parts, or vice versa.
Library
SignalConversions
Description
The ComplexDecomposition block decomposes a complex matrix (one single input) by separating the real part and the imaginary parts (two separate outputs).
Depending on the value of the decomposition type parameter, this block can also assemble a complex matrix (one single output) by joining the two parts (two separate inputs).
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
decomptyp | Decomposition type | This parameter defines the decomposition type | Structure | |
decomptyp/CtoR | Complex to real and imaginary parts | The block has a complex matrix as input and produces two real matrices as output. | Number | 1 |
decomptyp/RtoC | Real and imaginary parts to complex | The block has two real matrices (real part and imaginary part) as input and produces a complex matrix as output. | Number | 1 |
externalActivation | External activation | Specifies whether the block receives an external activation or inherits its activation through its regular input ports. When External Activation is selected, an additional activation port is added to the block. By default, external activation is not selected. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | input | decomptyp.RtoC | |
Port 2 | explicit | output | decomptyp.CtoR | |
Port 3 | activation | input | externalActivation |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | |
direct-feedthrough | yes | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |