Clear Filters
Clear Filters

What is lambda in the problem?

6 views (last 30 days)
Matthew Lozancich
Matthew Lozancich on 24 Nov 2017
Answered: SAITEJA JASTI on 3 Mar 2020
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

Accepted Answer

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

Sign in to comment.

More Answers (1)

SAITEJA JASTI
SAITEJA JASTI on 3 Mar 2020
lambda

Community Treasure Hunt

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

Start Hunting!