[mailto:discuss-gnuradio-bounces+stephan.ludwig2=de.bosch@gnu.org] Im
Auftrag von Jeff Long
Gesendet: Mittwoch, 19. August 2015 13:31
An: discuss-gnuradio@gnu.org
Betreff: Re: [Discuss-gnuradio] Dealing with `divide 0` or `Inf` in GNU Radio
C++ code.
(That should be "moving averages"
(That should be "moving averages", not "correlators"). Also, subtracting
instead of dividing might do what you want.
Jeff
On 08/19/2015 07:25 AM, Jeff Long wrote:
Jeon,
You can add an appropriate constant before the divide and compensate for
it afterward. The exact math will depend on the val
Jeon,
You can add an appropriate constant before the divide and compensate for
it afterward. The exact math will depend on the values coming out of the
correlators.
Jeff
On 08/19/2015 06:50 AM, Jeon wrote:
Let's think about the following auto/cross correlator:
http://i.imgur.com/Fy5hdVj.png
Let's think about the following auto/cross correlator:
http://i.imgur.com/Fy5hdVj.png
I've placed `divide` because I need to normalize the correlation result.
If we place `null source`, or `constant source with value of zero` right
before the `pad source`, the simplified form of the correlator bec