Combine 2 matrices into 1
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Lanceric Tse
am 14 Aug. 2018
Kommentiert: Yuvaraj Venkataswamy
am 14 Aug. 2018
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 Kommentare
Akzeptierte Antwort
Yuvaraj Venkataswamy
am 14 Aug. 2018
Bearbeitet: Yuvaraj Venkataswamy
am 14 Aug. 2018
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!