[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Quick question regarding plotting samples captured by

From: Bishal Thapa
Subject: [Discuss-gnuradio] Quick question regarding plotting samples captured by usrp_rx_cfile.py against time!!
Date: Thu, 4 Mar 2010 15:24:20 -0500

 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,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]