How can I convert 3d MRI data (128x128x27) into 4d (128x128x1x27) for visualization using montage?
Show older comments
I am going to visualize my mri data using the tutorial:
my data size 128x128x27, it is not working with the instructions. it gives the following the error:
"Unrecognized function or variable map"
I found that the data in the give tutorial size is 128x128x1x27.
How can I convert from 128x128x27 to 128x128x1x27?
Thanks
Accepted Answer
More Answers (1)
Simon Chan
on 27 Apr 2022
0 votes
B = permute(A,[1 2 4 3])
Categories
Find more on Neuroimaging 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!