Rebuilding a 3D matrix

조회 수: 2 (최근 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;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by