Skip to main content
Skip table of contents

AbsFract32

Overview

Absolute value of fractional input

Discussion

Computes the absolute value of a Fractional multichannel signal. The function is applied on a sample-by-sample basis. The module is multi-type and supports fractional signals. The class AbsFract32 operates on fixed-point data.

Type Definition

CODE
typedef struct _ModuleAbsFract32
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleAbsFract32Class;

Pins

Input Pins

Name: in

Description: Input signal

Data type: fract32

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal

Data type: fract32

MATLAB Usage

File Name: abs_fract32_module.m

CODE
 M=abs_fract32_module(NAME)
 Creates a fractional absolute value block for use with the Audio Weaver.
 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.