How to join pages to make a 3D matrix?

2 次查看(过去 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 CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by