abs() function is used to return absolute value in MATLAB. It can be represented as: Y = abs(X). ...