cjhkeep
10/25/2017 - 2:45 AM

sort

[sA,index] = sort(A) %排序后,sA是排序好的向量,index 是 向量sA 中对 A 的索引。 索引使排列逆运算成为可能。