Effacer les filtres
Effacer les filtres

What's wrong with my code? (poisson distribution)

3 vues (au cours des 30 derniers jours)
M Min
M Min le 9 Nov 2015
Modifié(e) : M Min le 9 Nov 2015
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)
but it shows wrong graph. What is the problem?

Réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by