Skip to main content
Skip table of contents

ComplexAngle

Overview

Calculates the phase angle of the complex input

Discussion

Calculates the phase angle of the complex input

Type Definition

CODE
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

CODE
 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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.