gamrnd
ガンマ乱数
説明
例
入力引数
出力引数
代替機能
gamrndはガンマ分布専用の関数です。Statistics and Machine Learning Toolbox™ には、さまざまな確率分布をサポートする汎用関数randomもあります。randomを使用するには、GammaDistribution確率分布オブジェクトを作成し入力引数として渡すか、確率分布名とそのパラメーターを指定します。分布専用の関数gamrndは汎用関数randomより高速です。標準ガンマ分布 (単位スケール) から乱数を生成するには、
randgを使用します。乱数を対話的に生成するには、乱数発生用ユーザー インターフェイス
randtoolを使用します。
参照
[1] Marsaglia, George, and Wai Wan Tsang. “A Simple Method for Generating Gamma Variables.” ACM Transactions on Mathematical Software 26, no. 3 (September 1, 2000): 363–72. https://doi.org/10.1145/358407.358414.
拡張機能
バージョン履歴
R2006a より前に導入