Sunday, December 27, 2015

Re: [Discuss-gnuradio] how to save the usrp samples to a file sink ?

Probably because you did not read the file in matlab in a manner that
tells Matlab it's complex, so matlab maybe defaulted to int? I don't know.

There's a convenience script that comes with GNU Radio that you can use
in Matlab to read the binary files[1].

Best regards,
Marcus

PS: I recommend you sign up under
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio ; the mailing
list is much easier to use with a normal email client than with
nabble.com :)

[1]
https://github.com/gnuradio/gnuradio/blob/master/gr-utils/octave/read_complex_binary.m
and the other files in that directory

On 12/27/2015 09:09 AM, kevin_L wrote:
> Thank you,Marcus Müller-3,I connect my signal producing block to a file sink,
> and i open the file using Matlab. But why it's int instead of complex? I
> configured the output as complex.
> <http://gnuradio.4.n7.nabble.com/file/n57479/31.png>
>
>
>
> --
> View this message in context: http://gnuradio.4.n7.nabble.com/how-to-save-the-usrp-samples-to-a-file-sink-tp57475p57479.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


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

No comments:

Post a Comment