What is lambda in the problem?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Matthew Lozancich
le 24 Nov 2017
Réponse apportée : SAITEJA JASTI
le 3 Mar 2020
So I was given this problem by my professor:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170092/image.png)
Unfortunately he is unreachable during the holidays. Can someone explain what lambda is supposed to be?
This is the code I have written thus far:
function p=calcprob(k)
p=exp(-lambda)*(((lambda)^k)/(factorial(k)))
end
0 commentaires
Réponse acceptée
KSSV
le 24 Nov 2017
It is a Poisson's Distribution......lambda is the average number of events (here cars) per interval. Read more here: https://en.wikipedia.org/wiki/Poisson_distribution
2 commentaires
Plus de réponses (1)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!