Complex To Mag Phase: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
m (→‎Source Files: Updated source links)
 
Line 8: Line 8:


== 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 13:33, 18 March 2021

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

Source Files

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