generating random numbers from poisson distribution
17 ビュー (過去 30 日間)
古いコメントを表示
how i can generate random numbers Poisson distribution pdf :
P(x) = e^(-λt).(λt)^x / x!
採用された回答
John D'Errico
2022 年 3 月 30 日
編集済み: John D'Errico
2022 年 3 月 30 日
Since the request has now morphed to do so without using poissrnd, that makes it very likely homework.
In that case, you might want to do some reading. For example, here:
If not, then you need to explain why you cannot use the idea shown there, or why you cannot use poissrnd.
help poissrnd
0 件のコメント
その他の回答 (1 件)
Paul
2022 年 3 月 30 日
Check out
doc poissrnd
assuming that lamda*t in the question is the same as lamda in that function.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!