MATLAB Function Reference Previous page   Next Page
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


Previous page  zip accumarray Next page

© 1994-2005 The MathWorks, Inc.