This MATLAB function returns an array Y such that each element of Y is the absolute value of the corresponding element of X.
www.mathworks.com