MATLAB: How to add many matrices together, end to end

addcombineMATLABmatrix

I am trying to add 348 separate 72×144 matrices NOT by element, but rather to create one matrix of size 72×50112 (50112 is 144×348). I figured it would work to write:
TOTAL = (A;B;C;D;E…)
But this is not working. How can I do it?

Best Answer

Dear Patrick, you can use
horzcat
or
vertcat
I hope it helps. Good luck!