array sorting 2D
10 ビュー (過去 30 日間)
古いコメントを表示
Lets say I had a matrix A
A = [ 5,2,3,6,8;
3,9,5,7,2;
4,3,2,1,11]
so that when i sorted the matrix then becomes
A = [1,2,3,4,11;
2,3,5,6,8;
2,3,5,7,9;]
1 件のコメント
Walter Roberson
2017 年 3 月 14 日
Almost everything makes sense in the answer, but why is 11 in the top row instead of the bottom row?
採用された回答
その他の回答 (1 件)
参考
カテゴリ
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!