|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Using USRP to transmit and receive samples |
Date: | Fri, 18 Oct 2013 12:43:21 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
Hi JPL,
.mat is really just a complicated container format for all kind of matlab data -- GNU Radio can't directly deal with that, although with SciPy you could create something that will be able to parse .mat files; but that is quite useless, as you could as well use Matlab to write something that can be directly used with other software. So to answer question (1.), I'd agree with Nathan: Best way to do it is using the existing GNU Radio OFDM tools, not writing code that has already been written several times, and start with something that already works. Thereby dropping Matlab as your signal processing framework, and only using it for data analysis and visualisation. To comment on (II): GNU Radio has blocks like "file_sink". They will just save the samples to a file, in this case, in the format of raw float32s (1 for real, 1 for imag part) one after another. To answer (III): If you really want to do that, see the GNU Radio source tree, gnuradio-core/src/utils/read_{float,complex,...}_binary.m. There is the same with "write" instead of "read". Greetings, Marcus On 10/18/2013 06:53 AM, West, Nathan wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |