What is the meaning of [B,J]=sort(A,'descend')?
3 ビュー (過去 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!