function abs
Returns the absolute value of X.
Syntax
result = abs(X)
Arguments
X: | The value whose absolute value is to be returned. This can be a number (integer, real, complex) or a matrix. If X is a matrix, a matrix of the same size is returned where each element represents the result of the operation. |
See also
function sign
function arg
function real
function imag