Table Of Contents

Absolute Value (G Dataflow)

Last Modified: January 23, 2017

Returns the absolute value of the input.

connector_pane_image
datatype_icon

x

An input to this operation.

This input supports 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.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

datatype_icon

absolute value

The absolute value of the input.

When x is of the form x = a + b i, that is, when x is complex, the following equation defines abs:
a b s ( x ) = a 2 + b 2

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this output has a default data type that uses fewer hardware resources at compile time.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an Optimized FPGA VI)


Recently Viewed Topics