MATLAB: How to concatenate multiple arrays into a single matrix

catconcatenateconcatenationMATLABmatrix

I have a variable in the workspace named { }mk
If I double click on this variable, the variable editor opens and displays the following:
cell11:<8x2 double>
cell12:<8x2 double>
cell13:<8x2 double>
If I double click on any cell, It turns to a table with the names mk{1,1}, mk{1,2}, mk{1,3}, respectively.
I want to concatenate all tables to ONE matrix q, so I wrote:
q=[mk{1,1} mk{1,2} mk{1,3}]
How do I concatenate many matrices without having to manually write 1, 2, 3 until n in the second term of mk{ , }

Best Answer

Hi,
did you try
q = [mk{1:3}]
or if you want all of them:
q = [mk{:}]
Titus