Matlab provides the unique` to solve these problems. The :command:`unique command returns the sorted unique entries in a vector. a = [1 1 2 3 4 ...
確定! 回上一頁