How to join pages to make a 3D matrix?

1 回表示 (過去 30 日間)
Mr M.
Mr M. 2018 年 4 月 5 日
回答済み: KL 2018 年 4 月 5 日
We can join columns with , ([x,y]) We can join rows with ; ([x;y]) But how to join pages? for example M(:,:,2) and M(:,:,1)

回答 (1 件)

KL
KL 2018 年 4 月 5 日
Use cat,
cat(3,X,Y)

カテゴリ

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