bubblesortdim - array sort using just a column as parameter

버전 1.0.0 (1.28 KB) 작성자: Henrique Costa
Sorts array lines using only one column as the dimension to be sorted
다운로드 수: 13
업데이트 2019/6/26

라이선스 보기

Sorts array lines using only one column as the dimension to be sorted.
Works with arrays of multiple dimensions.
ex.
a= [ 1 5 3;
4 2 6;
7 8 9];
sorted=bublesortdim(a,2);
sorted results in
[4 2 6;
1 5 3;
7 8 9];
OBS: column 2 is sorted but the lines are preserved
OBS: Implemented with buble sort (https://ieeexplore.ieee.org/document/5763927)

인용 양식

Henrique Costa (2026). bubblesortdim - array sort using just a column as parameter (https://kr.mathworks.com/matlabcentral/fileexchange/71960-bubblesortdim-array-sort-using-just-a-column-as-parameter), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2019a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Shifting and Sorting Matrices에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0