Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

Overview

Calculates the square of the magnitude of a complex signal.

Discussion

Calculates the square of the magnitude of a complex signal. There are no restrictions on the number of channels or the blockSize.

Type Definition

Code Block
typedef struct _ModuleComplexMagnitudeSquared
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleComplexMagnitudeSquaredClass;

Pins

Input Pins

Name: in1

Description: Complex input

...

Sample rate range: Unrestricted

Complex support: Complex

Output Pins

Name: out1

Description: real output

Data type: {float, int, fract32}

MATLAB Usage

File Name: complex_magnitude_squared_module.m

...