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!