Erlang Random variable

22 views (last 30 days)
Ahmed raheem
Ahmed raheem on 15 Feb 2012
Hi all, i need to generate a random variable with erlang distribution, so is there anyone can help me please?
thanks...

Accepted Answer

Honglei Chen
Honglei Chen on 15 Feb 2012
In theory Erlang is the sum of exponential distributed random variables, so you can just do the same. If you have Statistics Toolbox, you can use exprnd to draw exponentially distributed random number.
  1 Comment
Ahmed raheem
Ahmed raheem on 15 Feb 2012
thanks for your help
it is quite helpful...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!