/
(8.D.2.2 ) Abs

(8.D.2.2 ) Abs

Overview

Absolute value

Discussion

Computes the absolute value of a multichannel signal. The function is applied on a sample-by-sample basis. The module is multi-type and supports floating-point, fractional, and integer signals. The class Abs operates on floating-point data while AbsInt operates on both integer and fractional values.

Type Definition

typedef struct _ModuleAbs { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleAbsClass;

Pins

Input Pins

Name: in

Description: Input signal

Data type: float

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal

Data type: float

MATLAB Usage

File Name: abs_module.m

M=abs_module(NAME) Creates an absolute value block for use with Audio Weaver. Arguments: NAME - name of the module.

 

Related content

(8.D.2.2) Abs
More like this
(8.D.2.3) Abs
More like this
(8.D.2.5) Abs
More like this
(8.D.2.4) Abs
More like this
(8.D.2.7) Abs
More like this
(8.D.2.6) Abs
More like this