Absolute value.
abs(-3)
arg | The input number, complex number, quantity, or matrix. |
return value | The absolute value of the argument. |
The argument can be a number, a quantity, a complex number, or a matrix. In case of matrices, the absolute value will be calculated elementwise.
abs((2+3i)V)