Produces the absolute value of any expression.
ABS(val)
val |
- |
A scalar, series or table. |
A scalar, series, or table.
abs(-3)
returns 3.
abs(-3 + 2i)
returns 3.605551, a real scalar.
mag(-3 + 2i)
returns 3.605551, a real scalar.
abs(mean(W7))
returns a scalar which is the absolute value of the mean of the series in Window 7.
abs(gsin(100,0.1,1))
rectifies a sine wave. The series contains only non-negative Y values.
ABS always returns a result for a complex input and is identical to MAG.