Multiply: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:


; C++ files
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/multiply_impl.cc]


; Header files
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/multiply_impl.h]


; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/include/gnuradio/blocks/multiply.h]


; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/grc/blocks_multiply_xx.block.yml]

Revision as of 09:49, 23 October 2019

Multiply across all input streams.

output = prod(input_0, input_1, ...)

Parameters

Num Inputs
Number of streams to include in multiplication, see above.

Example Flowgraph

This flowgraph uses three Multiply Blocks. The top and middle ones are driven by the GUI Chooser to act as a Transmit / Receive switch. The bottom Multiply Const Block is a Volume control.

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

Selector demo.png

Source Files

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