Erlang distribution n=50 , m= 5; 6; k= 5; 9

9 views (last 30 days)
Anita Pashaliyska
Anita Pashaliyska on 24 Jan 2022
Commented: Torsten on 24 Jan 2022
Hello! I'm new here. I have task to generate cdf and pdf plots of erlang distribution with parametes: n=50 m=5; 6; k=5; 9;.
Can someone help me? Every help will be appriciate!
  1 Comment
Torsten
Torsten on 24 Jan 2022
I only see the distribution to depend on two parameters:
What are n, m and k in the Wiki-article ?

Sign in to comment.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 24 Jan 2022
Please set the typical values
t=....;
m=...;
k=....;
erlang_dist=t.^(k-1).*exp(-t/m)/(m.^k.*factorial(k-1));
plot(t,erlang_dist);
More you can look at this fun also (Read about Erlang function distribution)

Community Treasure Hunt

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

Start Hunting!