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 <feldmann_mar...@gmx.de> 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



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to