binornd

Version 1.0.0 (1.22 KB) by Binlin Wu
Generate random numbers from binomial distributions
68 Downloads
Updated 2 Apr 2021

View License

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

Cite As

Binlin Wu (2024). binornd (https://www.mathworks.com/matlabcentral/fileexchange/89724-binornd), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0