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
Module Pack
Advanced
ClassID
classID = 1303
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.
Copyright (c) 2026 DSP Concepts, Inc.