Main Content

Inherit Complexity

Change complexity of input to match reference signal

Library

Signal Management / Signal Attributes

dspsigattribs

  • Inherit Complexity block

Description

The Inherit Complexity block alters the input data at the Data port to match the complexity of the reference input at the Ref port. When the Data input is real, and the Ref input is complex, the block appends a zero-valued imaginary component, 0i, to each element of the Data input.

When the Data input is complex, and the Ref input is real, the block outputs the real component of the Data input.

When both the Data input and Ref input are real, or when both the Data input and Ref input are complex, the block propagates the Data input with no change.

Supported Data Types

PortSupported Data Types

Data

  • Double-precision floating point

  • Single-precision floating point

  • Fixed point (signed and unsigned)

  • Boolean

  • 8-, 16-, 32- and 64-bit signed integers

  • 8-, 16-, 32- and 64-bit unsigned integers

Ref

  • Double-precision floating point

  • Single-precision floating point

  • Fixed point (signed and unsigned)

  • Boolean

  • 8-, 16-, 32- and 64-bit signed integers

  • 8-, 16-, 32- and 64-bit unsigned integers

Output

  • Double-precision floating point

  • Single-precision floating point

  • Fixed point (signed and unsigned)

  • Boolean

  • 8-, 16-, 32- and 64-bit signed integers

  • 8-, 16-, 32- and 64-bit unsigned integers

See Also

Check Signal Attributes DSP System Toolbox™
Complex to Magnitude-Angle (Simulink) Simulink®
Complex to Real-Imag (Simulink) Simulink
Magnitude-Angle to Complex (Simulink) Simulink
Real-Imag to Complex (Simulink) Simulink

Extended Capabilities

Version History

Introduced before R2006a