Abs

From GNU Radio
Jump to: navigation, search

Abs-block.png

Takes absolute value of data stream (i.e. strips sign). Only supports float, int, and short (not complex).

Parameters[edit]

None

Example Flowgraph[edit]

This flowgraph shows a sinusoid being passed through Abs, producing full-wave rectification.

Abs-ex2.png

Abs-ex.png

Source Files[edit]

C++ files
[1]
Header files
[2]
Public header files
[3]
Block definition
GRC yaml