Combine 2 matrices into 1
1 次查看(过去 30 天)
显示 更早的评论
I have a matrix
a= 1 1 1
1 1 1
1 1 1
b= 2 2 2
2 2 2
2 2 2
How do I combine them into
1 2 1 2 1 2
1 2 1 2 1 2
1 2 1 2 1 2
0 个评论
采纳的回答
Yuvaraj Venkataswamy
2018-8-14
编辑:Yuvaraj Venkataswamy
2018-8-14
You can use command which is given in the below link. https://in.mathworks.com/matlabcentral/answers/266969-combine-two-matrices-every-other-column
5 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!