Adding 3rd dimensional array

7 次查看(过去 30 天)
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.

采纳的回答

Walter Roberson
Walter Roberson 2017-9-21
C = cat(3, A, B);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by