[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] how to save the usrp samples to a file sink ?
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] how to save the usrp samples to a file sink ? |
Date: |
Sun, 27 Dec 2015 10:08:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio