(8.D.2.7) ComplexAngle
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.
Â