Matlab

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

 

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