abs

Calculates the absolute value of an inputted argument x. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Real or complex value x

Output

Absolute value of x

Examples

abs