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 phase angle of the complex input

Discussion

Calculates the phase angle of the complex input

Type Definition

typedef struct _ModuleComplexAngle
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleComplexAngleClass;

Pins

Input Pins

Name: in

Description: audio input

Data type: {float, int, fract32}

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Complex

Output Pins

Name: out

Description: audio output

Data type: {float, int, fract32}

MATLAB Usage

File Name: complex_angle_module.m

 M=complex_angle_module(NAME)
 complex_angle_module is used to calculate the phase angle of the complex signal 
 Input is Complex and Output is real.  The output is in units of radians.
 Arguments:
    NAME - name of the module.

  • No labels