[Mristudio-users] changing .dat file to Analyze file

maryam afzali afzaliesfahan at yahoo.com
Tue May 26 07:26:09 EDT 2009


Hi,
I extracted eigenvalues from DTI data and the results are saved in .dat format. I want to open them in Matlab. But the figure in Matlab is not true. I don’t know what is the problem. Is the problem due to data or due to Matlab codes? How can I change the format from .dat to Analyze?
 Can you help me please?
I use this commands to open the .dat file. Is it true?   
>>fid = fopen(' EigenVal_0.dat','r');
>> x = fread(fid, 'uint32');
>> B=reshape(x,256,256,41);
Thank you very much.
Afzali.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mristudio.org/pipermail/mristudio-users/attachments/20090526/466607cb/attachment.html 


More information about the Mristudio-users mailing list