Nom

MATZREIM — Complex decomposition

Block Screenshot

Contents

Palette

Description

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 even 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.

Dialog box

  • 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.

Default properties

  • 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

Interfacing function

  • SCI/modules/scicos_blocks/macros/MatrixOp/MATZREIM.sci

Computational function

  • SCI/modules/scicos_blocks/src/c/matz_reim.c

  • SCI/modules/scicos_blocks/src/c/matz_reimc.c

See also

Authors

Fady NASSIF - INRIA