Difference between revisions of "Multiply"

From GNU Radio
Jump to: navigation, search
m (Example Flowgraph)
(revised flowgraph)
 
(3 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
== Example Flowgraph ==
 
== 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.
+
This flowgraph shows the Add Const and Multiply blocks to create 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 ==
  
 
; 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[edit]

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

Example Flowgraph[edit]

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[edit]

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