What is the meaning of [B,J]=sort(A,'descend')?
조회 수: 1 (최근 30일)
이전 댓글 표시
What is the meaning of [B,J]=sort(A,'descend')
Why can he use [B,J] here?
댓글 수: 1
Stephen23
2019년 4월 2일
편집: Stephen23
2019년 4월 2일
"What is the meaning of [B,J]=sort(A,'descend')"
B = the sorted data.
J = the sort indices along the dimension sorted along.
'descend' = tells sort to sort the values into descending order.
"Why can he use [B,J] here?"
Because its author read the documentation:
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!