Binomial Random Number Generator

Version 1.0.0.0 (1,6 ko) par David
Generates Binomial random numbers B(N,p). Works efficiently for large trial sizes, N.
397 téléchargements
Mise à jour 8 juil. 2013

Afficher la licence

The builtin binornd takes N operations to generate a single deviate, which is impossibly slow when N is large. The current code, modelled on the algorithm in Numerical Recipes, works efficiently for all N. Takes as input two vectors of length L, one with the N's and the second with the p's.

Citation pour cette source

David (2024). Binomial Random Number Generator (https://www.mathworks.com/matlabcentral/fileexchange/42464-binomial-random-number-generator), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2013a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Random Number Generation dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0