How to extract data from 6D data?

7 ビュー (過去 30 日間)
Prakash Raut
Prakash Raut 2022 年 1 月 7 日
コメント済み: Matt J 2022 年 1 月 7 日
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 件)

Matt J
Matt J 2022 年 1 月 7 日
yourMatrix(i,j,k,:,:,:)
  1 件のコメント
Matt J
Matt J 2022 年 1 月 7 日
and possibly also,
shiftdim( yourMatrix(i,j,k,:,:,:) ,3)
depending on the shape you wanted.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by