Poisson PMF using MATLAB

22 vues (au cours des 30 derniers jours)
Achyuth S.S
Achyuth S.S le 5 Nov 2022
Commenté : Achyuth S.S le 6 Nov 2022
I need to plot the Probability Mass function of the Poisson Random Variable.
How to plot the above figure for lambda = 4 usingMATLAB?

Réponse acceptée

Jeff Miller
Jeff Miller le 5 Nov 2022
This might get you started...
k = 0:17;
pmf = poisspdf(k,4);
figure;
plot(k,pmf,'o-')
  1 commentaire
Achyuth S.S
Achyuth S.S le 6 Nov 2022
Thank you @Jeff Miller

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by