sorting with respect to specific column

1 Ansicht (letzte 30 Tage)
Cem Eren Aslan
Cem Eren Aslan am 26 Dez. 2021
Beantwortet: David Hill am 26 Dez. 2021
Hello everone,
i want to sort 500*6 matrix with respect to 6th column. How can i do that?
thanks

Akzeptierte Antwort

David Hill
David Hill am 26 Dez. 2021
s=sortrows(yourMatrix,6);

Weitere Antworten (0)

Kategorien

Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by