How to join pages to make a 3D matrix?

1 visualizzazione (ultimi 30 giorni)
Mr M.
Mr M. il 5 Apr 2018
Risposto: KL il 5 Apr 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)

Risposte (1)

KL
KL il 5 Apr 2018
Use cat,
cat(3,X,Y)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by