Could this be modified to, optionally, do the (complex) average after the
FFT.  That would give a coherent average assuming no samples are dropped
prior to FFT.  Nice for digging signals out of the noise compared to a
normal spectrum analyzer type average.

Lou



Marcus Müller-3 wrote
> Because I find that highly cool, here's what's happening inside the Qt
> frequency sink, even if that might be unrelated to your problem:
> 
>   * takes in a vector of N samples
>   * Computes a discrete Fourier transform (using FFTw's fast fourier
>     transform algorithms) of length N
>   * computes the square of the magnitude, the logarithm of that,
>     normalizes each of the N complex result values
>   * optionally: averages each bin individually
>   * regularly updates the plot with the N-vector of PSD





--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Frequency-discriminator-using-a-frequency-to-voltage-converter-tp56739p56775.html
Sent from the GnuRadio mailing list archive at Nabble.com.

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to