MATLAB Function Reference    
abs

Absolute value and complex magnitude

Syntax

Description

abs(X) returns the absolute value, , for each element of X.

If X is complex, abs(X) returns the complex modulus (magnitude):

Examples

See Also

angle, sign, unwrap


 Colon : acos, acosh