Motorola DSP Developer's Kit    
mot563_abs

Output the absolute value of the input.

MATLAB Syntax

Y=mot563_abs(X)

Description

The mot563_abs function computes the absolute value of the input. When X is complex, mot563_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

mot563_log         mot563_log10       mot563_sqrt


 Alphabetical List of Motorola 56300 DDK Functions mot563_angle