Deleting a a part of a dimension in a 4D array
Show older comments
Hi,
I have a 4D array of MR images that are 64 x 64 x 128 x 16. side=64 # of images=128 # of slices in one image=16
I want to delete the last 6 of the slices
So basically, I want my array to look like 64 x 64 x 128 x 10
Can someone please help me. Thanks!
Accepted Answer
More Answers (1)
Sean de Wolski
on 8 Feb 2012
V = V(:,:,:,1:10); %all rows, all columns, all pages, 1:10, 4ds
Categories
Find more on DICOM Format 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!