MATLAB Function Reference |
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
zip | accumarray |
© 1994-2005 The MathWorks, Inc.