concatenate multidimentional tables
2 次查看(过去 30 天)
显示 更早的评论
Hello everybody, I 'm working my project,and i must add,concatenate 2dimentional arrays. Does anybody know an effective algorithm to do this? Thanks in advantage..
0 个评论
采纳的回答
Jiro Doke
2011-1-29
Since you aren't very descriptive with your question, I would simply suggest reading up on Matrix Concatenation from the documentation:
0 个评论
更多回答(1 个)
Jan
2011-1-29
A surprising question. If you want to concatenate two matrices horizontally:
C = [A, B];
And vertically:
C = [A; B];
Perhaps you have a more complicated problem to solve?! Are you talking of a large cell vektor containing a lot of matrices and suffer from CAT, which fails to use an efficient pre-allocation method?
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!