Difference between revisions of "Abs"

From GNU Radio
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Block Docs]]
 
[[Category:Block Docs]]
[[File:abs-block.png|50px]]
+
[[File:abs-block.png|100px]]
 +
 
 
Takes absolute value of data stream (i.e. strips sign).  Only supports float, int, and short (not complex).
 
Takes absolute value of data stream (i.e. strips sign).  Only supports float, int, and short (not complex).
  
Line 9: Line 10:
 
== Example Flowgraph ==
 
== Example Flowgraph ==
  
Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI
+
This flowgraph shows a sinusoid being passed through Abs, producing full-wave rectification.
  
 
[[File:abs-ex2.png|500px]]
 
[[File:abs-ex2.png|500px]]

Latest revision as of 15:53, 15 July 2019

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