Complex to Mag: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
(Added diagram showing magnitude calculation from IQ sample values.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
Calculates the magnitude of the complex samples.  Can also work on vectors.
Calculates the magnitude of the complex samples.  Can also work on vectors.
[[File:Complex-mag.jpg|400px]]


== Parameters ==
== Parameters ==
Line 7: Line 9:
== 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 how to use the Complex to Mag block to demodulate an AM signal. This is a working AM broadcast band receiver.
 
[[File:Complex_to_Mag.png|800px]]


== Source Files ==
== Source Files ==
; C++ fileshttps://wiki.gnuradio.org/index.php/SISO
: [https://github.com/gnuradio/gnuradio TODO]
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]

Latest revision as of 17:31, 23 May 2024

Calculates the magnitude of the complex samples. Can also work on vectors.

Complex-mag.jpg

Parameters

None

Example Flowgraph

This flowgraph shows how to use the Complex to Mag block to demodulate an AM signal. This is a working AM broadcast band receiver.

Complex to Mag.png

Source Files