What's wrong with my code? (poisson distribution)
3 ビュー (過去 30 日間)
古いコメントを表示
I tried to get a bar graph of poisson pdf without poisspdf function. For example, x=0:20; p=3.^x / factorial(x) * exp(-3); bar(x,p)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151550/image.jpeg)
but it shows wrong graph. What is the problem?
0 件のコメント
回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!