<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>You have an option to save as Analyze in DTI-studio the same way you saved the dat file. <br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> maryam afzali <afzaliesfahan@yahoo.com><br><b><span style="font-weight: bold;">To:</span></b> mristudio-users@mristudio.org<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, May 26, 2009 7:26:09 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [Mristudio-users] changing .dat file to Analyze file<br></font><br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit;
font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top"><p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><font size="3" face="Calibri">Hi,</font>
</p><p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><font size="3" face="Calibri">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?</font>
</p><p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><font size="3"><font face="Calibri"><span style=""> </span>Can you help me please?</font></font>
</p><p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><font size="3"><font face="Calibri">I use this commands to open the .dat file. Is it true? <span style=""> </span><span style=""> </span></font></font>
</p><p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><font size="3" face="Calibri">>>fid = fopen(' EigenVal_0.dat','r');</font>
</p><p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><font size="3" face="Calibri">>> x = fread(fid, 'uint32');</font>
</p><p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><font size="3" face="Calibri">>> B=reshape(x,256,256,41);</font>
</p><p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><font size="3" face="Calibri">Thank you very much.</font>
</p><p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><font size="3" face="Calibri">Afzali.</font></p></td></tr></tbody></table><br>
</div></div></div><br>
</body></html>