ormats such as DICOM and NIFTI</p><div><ul><li><a href="matlab:doc('mri2mat')">Help for mri2mat.m</a></li><li><a href="matlab:run('mri2mat')">Run mri2mat.m</a></li></ul></div><pre class="language-matlab">&gt;&gt; [M,info] = mri2mat();
</pre><p><img vspace="5" hspace="5" src="filepicker.png" alt=""> </p><p>The file you select in the file browser is opened as a matrix, which we can see has the same dimensions as those specified in the NIFTI header:</p><pre class="language-matlab">info.dime.dim(1)
length(size(