Complex to Arg

From GNU Radio
Revision as of 18:56, 13 April 2024 by Jesternofool (talk | contribs) (Added a mathematical description section, an example flowgraph, and the source files.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This block takes in a complex stream and outputs each complex value's arg (a.k.a. arctan, see [1]). The output is a float.

Parameters

None

Mathematical Description

Assuming an input of , then the output of this block corresponds to .

Example Flowgraph

Complex2ArgDemo.jpg

This is a frequency demodulator. The blocks from the output of the FFT Low Pass Filter to the output of the Multiply Const block is equal to the Quadrature Demod block.

Source Files

C++ files
complex_to_arg_impl.cc
Header files
complex_to_arg_impl.h
Public header files
complex_to_arg.h
Block definition
blocks_complex_to_arg.block.yml