Reverse matrix position
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
If i have
x =
1 2 3
4 5 6
7 8 9
10 11 12
I want it to be as
x =
10 11 12
7 8 9
4 5 6
1 2 3
Please help
Akzeptierte Antwort
Nirmal Gunaseelan
am 28 Jun. 2011
Accessing row values in the reverse order will get you there:
x(end:-1:1,:)
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox 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!