array sorting 2D
11 次查看(过去 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!