Hello.
I have an array in MATLAB that is the IQ data in complex form of a
capture from my hardware. I wish to now feed this to GNURadio. What
format do I export/save this array to file? Are there any example .m
files floating around for this task?
Thanks
Jeff
On 5/8/07, Jeffrey K. [email protected] wrote:
Hello.
I have an array in MATLAB that is the IQ data in complex form of a
capture from my hardware. I wish to now feed this to GNURadio. What
format do I export/save this array to file? Are there any example .m
files floating around for this task?
There are some utility .m files located here:
http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/utils
I believe using the write_float_binary.m to interleave complex data
should yield correct results, but I could be completely wrong.
Either way, check out the files located there.
Brian
Thanks. That is just what i was looking for. From the read_complex
file I was able to create a write_complex that takes in a complex
array and filename.
I attached it.
I have noticed a couple of those files were originally written for
Labview and not quite fully ported to Matlab (I think). However, the
fixes are very minor. Here is a write_complex_binary script that should
do the trick.
I believe using the write_float_binary.m to interleave complex data
should yield correct results, but I could be completely wrong.
I don’t think write_float_binary interleaves.
Either way, check out the files located there.
Brian
=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.