Quick question regarding plotting samples captured by usrp_rx_cfile.py against time!

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

  1. ./usrp_rx_cfile.py -f 2.5G capture.dat
  2. d = read_complex_binary(‘capture.dat’);
  3. I was able to choose every other sample, because there are two
    samples
    per symbol. (Sample Rate =2). dd= d(1:2:length(d));
  4. Then able to plot (abs(dd)) —> This gives me magnitude (Y-axis)
    vs.
    Sample number (x-axis)
  5. 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

  1. ./usrp_rx_cfile.py -f 2.5G capture.dat
  2. d = read_complex_binary(‘capture.dat’);
  3. I was able to choose every other sample, because there are two
    samples
    per symbol. (Sample Rate =2). dd= d(1:2:length(d));
  4. Then able to plot (abs(dd)) —> This gives me magnitude (Y-axis)
    vs.
    Sample number (x-axis)
  5. 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs