Rebuilding a 3D matrix

3 ビュー (過去 30 日間)
Ashfaq Ahmed
Ashfaq Ahmed 2023 年 2 月 27 日
コメント済み: Ashfaq Ahmed 2023 年 2 月 27 日
Hi everyone!
I am doing an operation where I will have to follow these algorithm steps. Can anyone please let me know how to perform this?
Any feedback will be grately appreaciated!

採用された回答

Stephen23
Stephen23 2023 年 2 月 27 日
編集済み: Stephen23 2023 年 2 月 27 日
A1 = A(:,:,[2,5,7]);
A2 = A(:,:,[1,6,10]);
A3 = A(:,:,[3,4,8,9]);
.. change values
B = nan(10,10,10);
B(:,:,[2,5,7]) = A1;
B(:,:,[1,6,10]) = A2;
B(:,:,[3,4,8,9]) = A3;
  1 件のコメント
Ashfaq Ahmed
Ashfaq Ahmed 2023 年 2 月 27 日
yesss

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by