Complex decomposition
This block decomposes a complex number by separating the real and imaginary parts or compose a complex number by joining the two parts. The user can select to separate or to join real and imaginary part by setting the decomposition type to 1 or 2. When it is set to 1, the input is a complex matrix and the outputs are the real and imaginary parts of the input. When it set to 2, The inputs are two real matrices, the output is a complex number with real part the first input and imaginary part the second input.
- decomposition type (1=Complex2Real&Imag 2=Real&Imag2Complex)
Indicates the type to use for the decomposition. See the description part for more information.
Properties : Type 'vec' of size 1.
- always active: no
- direct-feedthrough: yes
- zero-crossing: no
- mode: no
- regular inputs:
- port 1 : size [-1,-2] / type 2
- regular outputs:
- port 1 : size [-1,-2] / type 1
- port 2 : size [-1,-2] / type 1
- number/sizes of activation inputs: 0
- number/sizes of activation outputs: 0
- continuous-time state: no
- discrete-time state: no
- object discrete-time state: no
- name of computational function: matz_reim
- SCI/macros/scicos_blocks/MatrixOp/MATZREIM.sci [view code]
Fady NASSIF INRIA