Sort a Matrix by the first column connecting the row elements so that the elements of the second column 'follow' those of the first.

Hello Guys, i have a two column Matrix, where the first column is the diameter of some particles and the second column is Extiction. So the elements of the second column correspond to those of the first. My question is, is there a function that lets me sort the first column in ascending or descending order (does not matter) so that the corresponding value of extiction 'follows'? thank you very much.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2021년 9월 14일

댓글:

2021년 9월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by