(8.D.2.5) PolarToComplex
Overview
converts separate angle and magnitude components into a complex signal
Discussion
converts separate angle and magnitude components into a complex signal There are no restrictions on the number of channels or the blockSize
Type Definition
typedef struct _ModulePolarToComplex
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
} ModulePolarToComplexClass;
Pins
Input Pins
Name: angle
Description: real input
Data type: {float, int, fract32}
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real
Â
Name: magnitude
Description: real input
Data type: {float, int, fract32}
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: cmplx
Description: Complex output
Data type: {float, int, fract32}
MATLAB Usage
File Name: polar_to_complex_module.m
M=polar_to_complex_module(NAME)
This module converts separate angle and magnitude components into a complex signal
Arguments:
NAME - name of the module.
Â