MATLAB Function Reference    
abs

Absolute value and complex magnitude

Syntax

Description

abs(X) returns an array Y such that each element of Y is the absolute value of the corresponding element of X.

If X is complex, abs(X) returns the complex modulus (magnitude), which is the same as

Examples

See Also

angle, sign, unwrap


  zip acos