r = binornd(n,p)
r = binornd(n,p,sz1)
r = binornd(n,p,sz1,sz2,...)
Generates random numbers from the binomial distribution specified by
the number of trials n and the probability of success for each trial p.
sz1,sz2,...: size of the output matrix
引用格式
Binlin Wu (2024). binornd (https://www.mathworks.com/matlabcentral/fileexchange/89724-binornd), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2021a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |