Functions > Vector and Matrix > Array Characteristics > Absolute Value of a Scalar
  
Absolute Value of a Scalar
abs(z)—Returns the absolute value of a scalar or the magnitude of a complex number z.
Arguments
z is a real or complex scalar.