If you need to keep the original index, you can use the return value, that is, [B, ind] = sort (A). After calculation, B is the vector after A is sorted, A ...
確定! 回上一頁