abs(arg)

Absolute value.

abs(-3)
argThe input number, complex number, quantity, or matrix.
return valueThe 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)