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.

    ComplexDecomposition

Library

Activate/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

ComplexDecomposition_0

NameLabelDescriptionData TypeValid 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
2

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
2

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
1

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

input

decomptyp.RtoC

Port 2

explicit

output

decomptyp.CtoR

Port 3

activation

input

externalActivation

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

yes

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no

See Also