Absolute Value

Returns the absolute value of the input.

1378

Inputs/Outputs

datatype_icon

x

An input to this operation.

This input supports waveforms and any data type that contains only numbers, such as scalar numbers, arrays or clusters of numbers, arrays of clusters of numbers, and waveforms. x cannot be an unsigned integer because unsigned integers represent only non-negative integers.

datatype_icon

absolute value

The absolute value of the input.

When x is of the form x = a + bi, that is, when x is complex, the following equation defines abs: