- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 如何用matlab生成不重复的随机整数矩阵
function s= sampling(low,up,m,n) %该函数用来产生不重复的随机整数矩阵 %low—随机整数下界;up—随机整数上界;m,n—随机矩阵维度 %编写函数时的测试数据 if ~nargin low=1; up=100; m=1; n=20; end s=[]; t=0; while 1 temp=ra
2014-04-02 16:49:25 8256
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人