Generate a Poisson random variable
Ältere Kommentare anzeigen
The problem I need to solve is as below:
To generate a Poisson random variable with parameter λ use the following:
X=min ∑Ui exp(-λ) ; i=1,2...n
where Ui are i.i.d samples from the uniform distribution.
Show that X is Poisson (λ). Plot them.
How to solve this?
2 Kommentare
Image Analyst
am 9 Mär. 2020
Have you tried a for loop:
for i = 1 : n
ABUL HASNAT
am 9 Mär. 2020
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Poisson Distribution finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!