フィルターのクリア

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 Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by