|
From: | Markus Feldmann |
Subject: | [Discuss-gnuradio] Re: uses gr.file_sink 32 bit or 64 bit |
Date: | Thu, 26 Mar 2009 22:56:20 +0100 |
User-agent: | Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Eric Blossom schrieb:
On Thu, Mar 26, 2009 at 07:32:09AM -0700, Johnathan Corgan wrote:On Thu, Mar 26, 2009 at 4:12 AM, feldmaus <address@hidden> wrote:i want to save some output from the usrp and watch it with octave.The usrp.source_c(...) block generates IQ data as pairs of 32-bit floating point values.Or to avoid any confustion about how many samples are getting generated, I think it's easier to think that it generates samples that are of type std::complex<float>. Eric
Thanks for your posts, so if i really want to plot this data in octave i have to collect every 32bit samples ? If i only plot the vector containnig the float samples: c=read_complex_binary('usrp_output_64bit_complex_only_sin_signal.dat'); t=1:1:100; plot([real(c(t)), imag(c(t))]) i got for the beginning, http://img90.imageshack.us/my.php?image=from1to100bits.jpg And if i do, t=100:1:164; plot([real(c(t)), imag(c(t))]) http://img90.imageshack.us/my.php?image=from100to164bits.jpg Regards Markus
[Prev in Thread] | Current Thread | [Next in Thread] |