假设行数或列数为n vector = randperm(n); vector是从1到n的整数随机排列的向量 按照vector里各个元素的值重新排列行列向量就可以了假设待排列矩阵 ...
zhidao.baidu.com