Multiply: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
(revised flowgraph)
 
(5 intermediate revisions by 2 users not shown)
Line 10: 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. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
This flowgraph shows the Add Const and Multiply blocks to create an amplitude modulated signal.
 
[[File:Multiply_block_fg.png|800px]]
 
[[File:Multiply_Block_out.png|800px]]


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


; 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]

Latest revision as of 00:21, 30 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 shows the Add Const and Multiply blocks to create 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]