产生随机数 组,排序

来源:互联网 发布:做个电脑编程要多少钱 编辑:程序博客网 时间:2024/05/22 03:44

 1 随机数组:

suiji=randperm(num);

2排序:

[B,xuhao] = sort(distr,2,'descend');  

原创粉丝点击