Binomial Random Number Generator

バージョン 1.0.0.0 (1.6 KB) 作成者: David
Generates Binomial random numbers B(N,p). Works efficiently for large trial sizes, N.
ダウンロード: 397
更新 2013/7/8

ライセンスの表示

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.

引用

David (2024). Binomial Random Number Generator (https://www.mathworks.com/matlabcentral/fileexchange/42464-binomial-random-number-generator), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2013a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersRandom 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