What is lambda in the problem?

6 次查看(过去 30 天)
So I was given this problem by my professor:
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

采纳的回答

KSSV
KSSV 2017-11-24
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 个评论
Matthew Lozancich
Matthew Lozancich 2017-11-24
So in this case Lambda = K(cars)/(1) min ??
Matthew Lozancich
Matthew Lozancich 2017-11-24
NVM i'm so dumb. LOL I reread the problem. Thanks!

请先登录,再进行评论。

更多回答(1 个)

SAITEJA JASTI
SAITEJA JASTI 2020-3-3
lambda

Community Treasure Hunt

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

Start Hunting!

Translated by