Complex Conjugate: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
Output is the complex conjugate of the input
This block converts the input into its [https://en.wikipedia.org/wiki/Complex_conjugate complex conjugate]. This means that the imaginary part of each complex input value gets its sign inverted in the output i.e. if the input value is a + bi, the output value will be a + (-b)i.


== Parameters ==
== Parameters ==
Line 15: Line 15:


; C++ files
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/conjugate_cc_impl.cc conjugate_cc_impl.cc]


; Header files
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/conjugate_cc_impl.h conjugate_cc_impl.h]


; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/include/gnuradio/blocks/conjugate_cc.h conjugate_cc.h]


; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/grc/blocks_conjugate_cc.block.yml blocks_conjugate_cc.block.yml]

Revision as of 09:51, 25 August 2022

This block converts the input into its complex conjugate. This means that the imaginary part of each complex input value gets its sign inverted in the output i.e. if the input value is a + bi, the output value will be a + (-b)i.

Parameters

None

Example Flowgraph

Complex conjugate block dock fg.png


Complex conj block doc plot.png

Source Files

C++ files
conjugate_cc_impl.cc
Header files
conjugate_cc_impl.h
Public header files
conjugate_cc.h
Block definition
blocks_conjugate_cc.block.yml