Motorola DSP Developer's Kit
mot566_abs
Motorola DSP Developer's Kit    
mot566_abs


Output the absolute value of the input.

MATLAB Syntax

Y=mot566_abs(X)

Description

The mot566_abs function computes the absolute value of the input. When X is complex, mot566_abs(X) is the complex modulus (magnitude) of the elements of X.

Characteristics

In the workspace, if the input is:

the answer returned by the function is:

Arguments
X
   Vector (or matrix) with elements normalized in the range [-1,1] (for complex elements, both real and imaginary parts should comply with this limit).

Y
   Output vector in range [0, 1.414].

See Also

mot566_log         mot566_log10       mot566_sqrt


 Motorola 56600 Family ToolBox Function Reference mot566_angle