combine 30 (1*30) matrix to one matrix (30*30)
1 次查看(过去 30 天)
显示 更早的评论
Good evening\morning
I've 30 (1*30) matrix and would to combine them in one matrix (30*30)
Is there a command or should I use for loop?
0 个评论
回答(2 个)
Walter Roberson
2011-10-8
[mat1,mat2,mat3,mat4,mat5,mat6,....mat30]
3 个评论
Jan
2011-10-8
Or the author is a frequent MATLAB Answers reader and collected the matrices in a cell already. Then: cat(1, M{:}).
Walter Roberson
2011-10-8
Ah yes, I did somehow misread the original matrix as if it was 30x1. Andrei's version is correct.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!