Main Content

Inherit Complexity

Change complexity of input to match reference signal

  • Inherit Complexity block

Libraries:
DSP System Toolbox / Signal Management / Signal Attributes

Description

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

When the data input is complex and the reference input is real, the block outputs the real component of the data input.

When both the data input and reference input are real or when both the data input and reference input are complex, the block propagates the data input with no changes.

Ports

Input

expand all

Specify the data input as a scalar, vector, or an N-D array.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | Boolean | fixed point
Complex Number Support: Yes

Specify the reference input as a scalar, vector, or an N-D array.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | Boolean | fixed point
Complex Number Support: Yes

Output

expand all

Output of the Inherit Complexity block, returned as a scalar, vector, or an N-D array.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean | fixed point
Complex Number Support: Yes

Block Characteristics

Data Types

Boolean | double | fixed point | integer | single

Direct Feedthrough

no

Multidimensional Signals

no

Variable-Size Signals

yes

Zero-Crossing Detection

no

Extended Capabilities

Version History

Introduced before R2006a