How to join pages to make a 3D matrix?

1 vue (au cours des 30 derniers jours)
Mr M.
Mr M. le 5 Avr 2018
Réponse apportée : KL le 5 Avr 2018
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)

Réponses (1)

KL
KL le 5 Avr 2018
Use cat,
cat(3,X,Y)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by