原文randperm将一列序号随机打乱,序号必须是整数。>> randperm(5) ans = 5 3 4 1 2 这个例子将1~5顺序随机打乱。>> randperm(10,9) ans ...
確定! 回上一頁