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 日

0 投票

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 日

0 投票

lambda

質問済み:

2017 年 11 月 24 日

回答済み:

2020 年 3 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by