ComplexAngle
Overview
Calculates the phase angle of the complex input
Discussion
Calculates the phase angle of the complex input
Module Pack
Advanced
ClassID
classID = 1232
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.
Copyright (c) 2026 DSP Concepts, Inc.