How to convert file format from .mat to .nii format
23 views (last 30 days)
Show older comments
Dear All
I'm beginner in using mat lab. I don't have much information to do coding by mat lab. I really need you help.
I would like to create nii file from 16 mat files:
- .nii file from 16 mat files for T2_star (my file name).
- .nii file from another 16 files for T2 (my 2nd file name).
for slice 1:16;
- - load mat file.
- - store it in 3D variable, because my files are 2D matrix.
end save_nii
%% Please send explanation with each step and appreciated your help.
Regards
Dhafer
1 Comment
Walter Roberson
on 8 Jun 2013
What is .nii format? Something to do with National Instruments? But T2 and T2_star are MRS and MRI terms, suggesting that .nii might be a format used by a spectrometer or something like that ?
Accepted Answer
More Answers (1)
See Also
Categories
Find more on MRI in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!