Inherit Complexity

Change complexity of input to match reference signal

Library

Signal Management / Signal Attributes

dspsigattribs

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.

Dialog Box

Supported Data Types

PortSupported Data Types

Data

  • Double-precision floating point

  • Single-precision floating point

  • Fixed point (signed and unsigned)

  • Boolean

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

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

Ref

  • Double-precision floating point

  • Single-precision floating point

  • Fixed point (signed and unsigned)

  • Boolean

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

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

Output

  • Double-precision floating point

  • Single-precision floating point

  • Fixed point (signed and unsigned)

  • Boolean

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

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

Was this topic helpful?