필터 지우기
필터 지우기

Combining 3 3D matrices

조회 수: 2 (최근 30일)
Minh Phuong Truong
Minh Phuong Truong 2022년 2월 7일
답변: Rik 2022년 2월 7일
I have 3 3D matrices, which size are 313x409x31, 313x409x28 and 313x409x30. I would like to combine those 3 3D matrices into one 313x409x89. Pls help me.

채택된 답변

Rik
Rik 2022년 2월 7일
Use cat:
A=rand(313,409,31);
B=rand(313,409,28);
C=rand(313,409,30);
total=cat(3,A,B,C);
size(total)
ans = 1×3
313 409 89

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by