/
(8.D.2.2) ComplexMagnitudeSquared

(8.D.2.2) ComplexMagnitudeSquared

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

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

Pins

Input Pins

Name: in1

Description: Complex input

Data type: {float, int, fract32}

Channel range: Unrestricted

Block size range: Unrestricted

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

M=complex_magnitude_squared_module(NAME) This module calculates the square of the magnitude of a complex signal. Arguments: NAME - name of the module. Input is Complex and Output is real.

 

Related content

(8.D.2.2 ) ComplexMagnitudeSquared
(8.D.2.2 ) ComplexMagnitudeSquared
More like this
(8.D.1.3) ComplexMagnitudeSquared
(8.D.1.3) ComplexMagnitudeSquared
More like this
(8.D.2.7) ComplexMagnitudeSquared
(8.D.2.7) ComplexMagnitudeSquared
More like this
(8.D.2.3) ComplexMagnitudeSquared
(8.D.2.3) ComplexMagnitudeSquared
More like this
(8.D.2.5) ComplexMagnitudeSquared
(8.D.2.5) ComplexMagnitudeSquared
More like this
(8.D.2.4) ComplexMagnitudeSquared
(8.D.2.4) ComplexMagnitudeSquared
More like this