sorry, my computer is Mac G5, so I guess the machinetype parameter is proabably 'b', or 's', which means big endian
XC
****************************************
Xuelin Cui
Department of Electrical Engineering
University of Hawaii-Manoa
Honolulu HI 96822
Tel: 1-808-349-0983
Email: [log in to unmask]
****************************************
----- Original Message -----
From: Xuelin Cui <[log in to unmask]>
Date: Tuesday, July 24, 2007 6:29 pm
Subject: [FSL] question on data precision when reading/writing data of MELODIC results
To: [log in to unmask]
> hi all:
>
> I can read data(IC spatial map) from MELODIC results. Then I
> simply reshaped the data into a 2D matrix with each row represent
> a single spatial IC. But when I was trying to write the 2D matrix
> in to another *.txt file, I had problem. I am not sure which data
> type and mechine type I should choose in matlab command
> 'fopen(fid, matrix, precision, mechinetype)', 'fwrite(fid, matrix,
> precision, mechinetype)' . Namely , the last 2 parameters in these
> 2 command. Any suggestions?
>
> Or, maybe I should create a *.dat file to save the 2D matrix? or
> any other file formats?
>
> Thanks
>
> Xuelin
> ****************************************
> Xuelin Cui
> Department of Electrical Engineering
> University of Hawaii-Manoa
> Honolulu HI 96822
>
> Tel: 1-808-349-0983
> Email: [log in to unmask]
> ****************************************
>
|