Complex To Mag Phase: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
(add Example Flowgraph)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:


== Example Flowgraph ==
== Example Flowgraph ==
[[File:Type_conv_fg.png|798px]]
<p>This flowgraph can be downloaded from [[Media:Type_conv.grc]].</p>


== Source Files ==
== Source Files ==
; C++ files
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/complex_to_magphase_impl.cc]
; Header files
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/complex_to_magphase_impl.h]
; Public header files
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/include/gnuradio/blocks/complex_to_magphase.h]
; Block definition
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/grc/blocks_complex_to_magphase.block.yml]

Latest revision as of 21:35, 10 April 2025

Convert a stream of gr_complex to magnitude and phase (both floats). output[0] is the magnitude and output[1] is the phase (in radians).

Parameters

None

Example Flowgraph

Type conv fg.png

This flowgraph can be downloaded from Media:Type_conv.grc.

Source Files

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