Generate poisson random number with a mean and standard deviation
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Laura
am 22 Aug. 2016
Beantwortet: James Tursa
am 22 Aug. 2016
I want to generate poisson random number with a mean of 1 and standard deviation of 0.2 for 60 numbers. I could not find anywhere that can input the standard deviation into it. I also have a problem with command poissrnd that it only gives integer instead of decimal number.
If anyone has a routine to do that, please share Thanks.
0 Kommentare
Akzeptierte Antwort
James Tursa
am 22 Aug. 2016
See this:
https://en.wikipedia.org/wiki/Poisson_distribution
And this:
There is only one parameter for the Poisson distribution, lambda, and that sets both the mean and the variance of the distribution. You can't independently set the mean and variance differently, which you are apparently trying to do. Why do you want/need to do that?
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!