[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] PSD in dBm/Hz
From: |
madengr |
Subject: |
Re: [Discuss-gnuradio] PSD in dBm/Hz |
Date: |
Fri, 6 Mar 2015 08:07:32 -0700 (MST) |
Equivalent function here, which could be encapsulated into a GR block if you
don't need speed:
http://docs.scipy.org/doc/scipy-dev/reference/generated/scipy.signal.periodogram.html
I suppose it boils down to the difference between an FFT just normalized to
bandwidth, and the FFT of the autocorrelation; the latter is the true
definition of PSD. I learned this once 20 years ago (power signals vs.
energy signals) but I don't remember anymore. Maybe someone can chime in.
Lou
activecat wrote
> Dear Sirs,
>
> Thanks for the answers. Let me further elaborate.
>
> I could get what I want using Matlab, via below steps:
> 1). Using GRC flowgraph, connect the USRP Source to a File Sink.
> 2). Copy the file (says, test02.dat) to a PC running Matlab.
> 3). Using Matlab, run these commands:
> a). c = read_complex_binary('test02.dat')
> b). figure; periodogram( c(1:100000), [], [], 10e6 ) #
> samp_rate is 10e6
>
> In this case I am able to get a PSD plot.
> The question is, how to produce the PSD plot using only gnuradio (without
> Matlab) ?
>
> Thank you very much.
--
View this message in context:
http://gnuradio.4.n7.nabble.com/PSD-in-dBm-Hz-tp52572p52596.html
Sent from the GnuRadio mailing list archive at Nabble.com.