change array into matrix
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How to write a 4 values in rectangular grid a=[8 4 6 2]
it will become
a=
8 4
6 2
0 Kommentare
Akzeptierte Antwort
Mischa Kim
am 1 Feb. 2014
Bearbeitet: Mischa Kim
am 1 Feb. 2014
b = reshape(a,2,2)
3 Kommentare
Mischa Kim
am 1 Feb. 2014
Is this another question or are you confirming that the command does what you need it to do?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays 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!