Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Sort the matrix corresponding to row
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I am new to matlab,can any one help me for sorting the matrix
AA =[2,3,4,5,1,6;21,22,30,36,39,40]
In the matrix AA I want to sort with respect to second row in descending order,so that I can get
AA=[6,1,5,4,3,2;40,39,36,30,22,21]
0 Kommentare
Antworten (1)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!