[sa, i]=sort(a) returns the ordered indices for each column. You just need to get the correct linear indices for the matrix.
確定! 回上一頁