generating random numbers from poisson distribution
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Takim Mustakim
il 30 Mar 2022
Modificato: John D'Errico
il 30 Mar 2022
how i can generate random numbers Poisson distribution pdf :
P(x) = e^(-λt).(λt)^x / x!
2 Commenti
Risposta accettata
John D'Errico
il 30 Mar 2022
Modificato: John D'Errico
il 30 Mar 2022
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 Commenti
Più risposte (1)
Paul
il 30 Mar 2022
Check out
doc poissrnd
assuming that lamda*t in the question is the same as lamda in that function.
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!