概述
Compute and plot the Poisson probability density function for the specified range of integer values and average rate.
In the computer hard disk manufacturing process, flaws occur randomly. Assuming that on average a 4 GB hard disk has two flaws, compute the probability that a disk has no flaws.
poisspdf(0,2)
ans = 0.1353
Compute the Poisson probability density function values at each value from 0 to 10. These values correspond to the probabilities that a disk has 0, 1, 2, ..., 10 flaws.
flaws = 0:10;
y = poisspdf(flaws,2);
Plot the resulting probability values.
scatter(flaws,y,'Marker',"o")
grid on
最后
以上就是优秀冥王星为你收集整理的matlab中的poisspdf,Poisson probability density function的全部内容,希望文章能够帮你解决matlab中的poisspdf,Poisson probability density function所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复