customizing the index of reshape A 2X2 matrix
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
ali akbar
am 6 Sep. 2020
Kommentiert: ali akbar
am 6 Sep. 2020
So I have a 2x2 matrix
test=[1 2;16 9]
y=reshape(test,[],1)
which returns
1
16
2
9
I want it to reshape like this
1
2
16
9
Any suggestion would be highly appreciated.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!