Matlab

1 m=10; 
2 rand_indices = randperm(m);%将1-10的顺序打乱 

 

posted @ 2016-03-16 21:24  liangxw  阅读(140)  评论(0)    收藏  举报