How we generate random variates from a generalized poisson distribution?
2 ビュー (過去 30 日間)
古いコメントを表示
Dear all, I want to use generate draws from the "generalized poisson distribution". Is there any function in matlab to do that?
thanks
採用された回答
Image Analyst
2015 年 10 月 19 日
If you have the Statistics and Machine Learning Toolbox, that is one of the distributions given in the random() function. From the help:
Generate a single random value from Poisson distributions with rate parameters 1, 2, ..., 6, respectively:
x2 = random('Poisson',1:6,1,6)
x2 =
0 0 1 2 5 7
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!