Hi all, i need to generate a random variable with erlang distribution, so is there anyone can help me please?
thanks...

 Akzeptierte Antwort

Honglei Chen
Honglei Chen am 15 Feb. 2012

0 Stimmen

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 Kommentar

Ahmed raheem
Ahmed raheem am 15 Feb. 2012
thanks for your help
it is quite helpful...

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Random Number Generation finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by