Adding 3rd dimensional array

7 Ansichten (letzte 30 Tage)
Haa Andrew
Haa Andrew am 21 Sep. 2017
Beantwortet: Walter Roberson am 21 Sep. 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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 21 Sep. 2017
C = cat(3, A, B);

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by