take three matrices into a single matrix
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Eranja Noopehewa
am 31 Jul. 2018
Bearbeitet: jonas
am 31 Jul. 2018
i have three matrix each of size 1*100 how can i take it to a single matrix of 3*100
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Alex Fratila
am 31 Jul. 2018
Let's say your matrices are named a, b, and c. Then, you can concatenate them like this:
newMatrix = [a ; b ; c];
The semicolon stacks your matrices on top of each other (vertical concatenation). Here is a page with more info!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices 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!