May I ask how to plot Poisson distribution plot?
显示 更早的评论
lamda = 47/42;
year_span = 1, 2, ....., 9;
x = 0;
p = (exp(-lamda*year_span))*((lamda*year_span)^x)/(factorial(x));
1-p
Then how can I get the plot of probability with this code?
(p is a formula of Poisson distribution and the year_span will be changed from 1 to 9)
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Poisson Distribution 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
