How to extract data from 6D data?

I have a variable named data which is 6-D double
Its size is 256 256 256 1 3 3.
I can easily extract 256*256*256 matrix but how do i extract last 3?

回答(1 个)

yourMatrix(i,j,k,:,:,:)

1 个评论

and possibly also,
shiftdim( yourMatrix(i,j,k,:,:,:) ,3)
depending on the shape you wanted.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by