Add Const

From GNU Radio
Revision as of 17:04, 29 October 2019 by Notou (talk | contribs)
Jump to navigation Jump to search

Adds a constant value to each item that passes though. output[m] = input[m] + constant vector.

Parameters

(R): Run-time adjustable

Constant (R)
The entered value must be of the same type as the input / output ports (i.e. complex, float, etc.).

Example Flowgraph

This flowgraph shows the Add Const block adding a -1.0 to the stream.

Complex to Mag.png

Source Files

C++ files
Byte I/O
Complex I/O
Float I/O
Int I/O
Short I/O
Vector I/O
Header files
Byte I/O
Complex I/O
Float I/O
Int I/O
Short I/O
Vector I/O
Public header files
Byte I/O
Complex I/O
Float I/O
Int I/O
Short I/O
Vector I/O
Block definition
[1]