Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Overview

Calculates the magnitude of a complex signal

Discussion

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

Type Definition

typedef struct _ModuleComplexMagnitudeFract32
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleComplexMagnitudeFract32Class;

Pins

Input Pins

Name: in1

Description: Complex input

Data type: fract32

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Complex

Output Pins

Name: out1

Description: real output

Data type: fract32

MATLAB Usage

File Name: complex_magnitude_fract32_module.m

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

  • No labels