MATLAB产生连续均匀分布的随机数组——unifrnd

unifrnd可以创建随机的连续均匀分布的数组。

1.R = unifrnd(A,B)

returns an array of random numbers chosen from the continuous uniform distribution on the interval from A to B. The size of R is the common size of A and B if both are arrays.  If either parameter is a scalar, the size of R is the size of the otherparameter.

这是matlab自带的帮助文件的解释,比较简略,以下补充本人的理解

你可能感兴趣的:(MATLAB,数模)