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内容请搜索靠谱客的其他文章。
发表评论 取消回复