ComplexToRealImagFract32
Overview
Converts a complex signal into separate real and imaginary components
Discussion
The complex_to_real_imag module take a complex input signal and converts it into separate real and imaginary components. The first output, "real", stores the real component and the second output "imag" stores the imaginary component. There are no restrictions on the number of channels or the blockSize
Module Pack
Advanced
ClassID
classID = 1240
Type Definition
typedef struct _ModuleComplexToRealImagFract32
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
} ModuleComplexToRealImagFract32Class;
Pins
Input Pins
| Name | cmplx |
| Description | Complex input |
| Data type | fract32 |
| Channel range | Unrestricted |
| Block size range | Unrestricted |
| Sample rate range | Unrestricted |
| Complex support | Complex |
Output Pins
| Name | real |
| Description | Real output |
| Data Type | fract32 |
| Name | imag |
| Description | Imaginary output |
| Data Type | fract32 |
Matlab Usage
File Name: complex_to_real_imag_fract32_module.m
M=complex_to_real_imag_fract32_module(NAME)
This module converts a complex signal into separate real and imaginary
components. Arguments:
NAME - name of the module.
Copyright (c) 2026 DSP Concepts, Inc.