Skip to main content
Skip table of contents

RealImagToComplexFract32

Overview

Converts separate real and imaginary components into a complex signal.

Discussion

The real_imag_to_complex 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

Type Definition

CODE
typedef struct _ModuleRealImagToComplexFract32
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleRealImagToComplexFract32Class;

Pins

Input Pins

Name: real

Description: Real input

Data type: fract32

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

Name: imag

Description: Imaginary input

Data type: fract32

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: cmplx

Description: Complex output

Data type: fract32

MATLAB Usage

File Name: real_imag_to_complex_fract32_module.m

CODE
 M=real_imag_to_complex_fract32_module(NAME)
  Arguments:
    NAME - name of the module.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.