필터 지우기
필터 지우기

3-dimensional array

조회 수: 2 (최근 30일)
yen
yen 2011년 5월 18일
Example a=[1 0;0 1] b=[2 2;2 2] c=[0 3;3 0] d=cat(3,a,b,c) ==> d(:,:,1)=a ; d(:,:,2)=b; d(:,:,3)=c.
I have n-dimensional arrays are the same size, I want to merge into a 3-dimensional array. I have known about the "cat" function to concatenates into 3-dimensional array such as example , but not understand much about how to use it to solve my problem
  댓글 수: 2
Andrew Newell
Andrew Newell 2011년 5월 18일
Can n be greater than 3?
Oleg Komarov
Oleg Komarov 2011년 5월 18일
@yen: Do you have a question?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by