putting several matrices as one
显示 更早的评论
i have got one matrix with 2 columns and another with 5. i want to put them togehter as one matrix with 7 columns. overall the rows are similar in all of them
采纳的回答
更多回答(1 个)
Cedric
2017-10-10
A = randi( 10, 3, 2 )
B = randi( 10, 3, 5 )
C = [A, B]
类别
在 帮助中心 和 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!