Adding 3rd dimensional array

8 visualizaciones (últimos 30 días)
Haa Andrew
Haa Andrew el 21 de Sept. de 2017
Respondida: Walter Roberson el 21 de Sept. de 2017
I have same data in two matrices A=50x60x100 and B=50x60x80. I want to add third array to combine them in one matrix like C=50x60x180. How can add them? Thanks in advance.

Respuesta aceptada

Walter Roberson
Walter Roberson el 21 de Sept. de 2017
C = cat(3, A, B);

Más respuestas (0)

Categorías

Más información sobre Resizing and Reshaping 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