How do I concatenate multiple arrays into a single matrix?
8 次查看(过去 30 天)
显示 更早的评论
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{ , }
0 个评论
采纳的回答
更多回答(1 个)
Julián Francisco
2011-4-5
Hi. I think this page will help you:
(see the note on the section Remarks).
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!