Ältere Kommentare anzeigen
A=[1 2 3 4 5 ; 6 7 8 9 10 ; 11 12 13 14 15 ; 16 17 18 19 20]
このような5×4の行列Aを
B=[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]
1×20の行列Bのように垂直連結したいです.
列数が多い場合に繰り返しで、1行目から最終列までを順番に垂直連結させる方法を知りたいです.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!