Multiply: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
m (Example Flowgraph rewording)
(add Example Flowgraph)
Line 10: Line 10:
== Example Flowgraph ==
== 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.
This flowgraph multiplies two sine waves. This can be used to produce an amplitude modulated signal.  


Note: The lower section is a working 2 meter NBFM receiver.
[[File:Multiply_block_fg.png|800px]]


[[File:Selector_demo.png|800px]]
[[File:Multiply_Block_out.png|800px]]


== Source Files ==
== Source Files ==

Revision as of 12:35, 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 multiplies two sine waves. This can be used to produce an amplitude modulated signal.

Multiply block fg.png

Multiply Block out.png

Source Files

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