How to join pages to make a 3D matrix?

1 visualización (últimos 30 días)
Mr M.
Mr M. el 5 de Abr. de 2018
Respondida: KL el 5 de Abr. de 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)

Respuestas (1)

KL
KL el 5 de Abr. de 2018
Use cat,
cat(3,X,Y)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by