Multiply Const

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

Multiplies input stream by a constant.

output = input * constant scalar/vector (element-wise if vector)

See Fast Multiply Const for a more performant version of this block.

Parameters

(R): Run-time adjustable

Constant (R)
Constant to multiply the input stream by

Example Flowgraph

This flowgraph uses three Multiply type blocks. The top Multiply Const Block and middle Multiply Block are driven by the GUI Chooser to act as a Transmit / Receive switch. The bottom Multiply Const Block is a Volume control, the 'constant' being the 'volume' parameter from the QT GUI Range block.

Note: The lower section is a working 2 meter NBFM receiver.

Selector demo.png

Source Files

C++ files
If single sample input
If vector input
Header files
If single sample input
If vector input
Public header files
If single sample input
If vector input
Block definition
[1]