[Dspforum] How to dump .dat file for MATLAB

Alan Ding alan33d at gmail.com
Fri Oct 16 08:21:34 MDT 2009


Haha...  I completely missed that section in the lab.  I ignored the body of
the lab since I thought it was for what was due next week.  I ended up using
my own routine to get the data from the dsp to matlab.... this could have
saved some time.  Please look at lab6_milestone_ding.doc for what I did.

Doug - Can I try out what you've provided and hand you an updated milestone
using the same C code but with more test results?  Let me know.

Thanks,

Alan

On Fri, Oct 16, 2009 at 10:08 AM, Doug Wenstrand
<doug at echelonembedded.com>wrote:

> Alan,there is some code for both in the Lab6 writeup itself.  Are you
> having problems with that code?
> Doug
>
>
> On Thu, Oct 15, 2009 at 10:30 PM, Alan Ding <alan33d at gmail.com> wrote:
>
>> Hi all,
>>
>> I dumped my output 2*N float fft output data into a .dat file in 32bit
>> floats.  The output format looks like the following:
>>
>> 1651 4 228 0 8000
>> -3044.0                              ->where samples[0].real starts
>> 0.0
>> -1027.78
>> 401.8829
>> -347.1894
>> 355.9608
>> -800.423
>>
>> I can't figure out how to easily import this complex float data into
>> matlab.  Any advice would be greatly appreciated.
>>
>> Thanks,
>>
>> --
>> -------------------------------------------------------
>> Alan Ding
>> Master of Sci, Electrical Engineering
>> Johns Hopkins University
>>
>> Email: alan33d at gmail.com
>> Contact #: 4844593290
>>
>> _______________________________________________
>> Dspforum mailing list
>> Dspforum at echelonembedded.com
>> http://echelonembedded.com/mailman/listinfo/dspforum_echelonembedded.com
>>
>>
>
> _______________________________________________
> Dspforum mailing list
> Dspforum at echelonembedded.com
> http://echelonembedded.com/mailman/listinfo/dspforum_echelonembedded.com
>
>


-- 
-------------------------------------------------------
Alan Ding
Master of Sci, Electrical Engineering
Johns Hopkins University

Email: alan33d at gmail.com
Contact #: 4844593290
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20091016/070bfb98/attachment.html>


More information about the Dspforum mailing list