Adding 3rd dimensional array

조회 수: 7 (최근 30일)
Haa Andrew
Haa Andrew 2017년 9월 21일
답변: Walter Roberson 2017년 9월 21일
I have same data in two matrices A=50x60x100 and B=50x60x80. I want to add third array to combine them in one matrix like C=50x60x180. How can add them? Thanks in advance.

채택된 답변

Walter Roberson
Walter Roberson 2017년 9월 21일
C = cat(3, A, B);

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by