rand_extended computes a random number in the interval [a,b]
版本 1.0.0.0 (1.3 KB) 作者:
Nassim Khaled
rand_extended computes a random number in the interval [a,b]
rand_extended computes a random number in the interval [a,b]
It is basically an extended version of the command rand
Inputs:
a: the lower bound of the interval
b: the upper bound of the interval
m,n(optional): dimensions of the matrix of random numbers
to be generated
Outputs:
M: random number/matrix in the interval [a,b]
引用格式
Nassim Khaled (2024). rand_extended computes a random number in the interval [a,b] (https://www.mathworks.com/matlabcentral/fileexchange/32023-rand_extended-computes-a-random-number-in-the-interval-a-b), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2008a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Random Number Generation 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |