Hi,
I have a quick question regarding the complex binary samples captured
by
using usrp_rx_cfile.py. I would like to draw them against time. So,
(Magnitude on Y-axis and Time on X-axis) in matlab. I was able to do the
following
- ./usrp_rx_cfile.py -f 2.5G capture.dat
- d = read_complex_binary(‘capture.dat’);
- I was able to choose every other sample, because there are two
samples
per symbol. (Sample Rate =2). dd= d(1:2:length(d));
- Then able to plot (abs(dd)) —> This gives me magnitude (Y-axis)
vs.
Sample number (x-axis)
- How can I draw these samples (dd) now against time(on X-axis).
Thank you for your time,
Sincerely,
Bishal T. wrote:
Hi,
I have a quick question regarding the complex binary samples captured
by
using usrp_rx_cfile.py. I would like to draw them against time. So,
(Magnitude on Y-axis and Time on X-axis) in matlab. I was able to do the
following
- ./usrp_rx_cfile.py -f 2.5G capture.dat
- d = read_complex_binary(‘capture.dat’);
- I was able to choose every other sample, because there are two
samples
per symbol. (Sample Rate =2). dd= d(1:2:length(d));
- Then able to plot (abs(dd)) —> This gives me magnitude (Y-axis)
vs.
Sample number (x-axis)
- How can I draw these samples (dd) now against time(on X-axis).
Thank you for your time,
Sincerely,
Hi Bishal
i hope that you are fine and doing good. I am new to the Gnuradio and
USRP and I encountered the same problem. If u r done with it please let
me know. Also i want to ask that, as u mentioned “there are two samples
per symbol” what does it mean? as you didnt mention the sampling rate in
the command “1. ./usrp_rx_cfile.py -f 2.5G capture.dat”.
waiting for your kind reply.
Thanks