Erlang Random variable

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

 Réponse acceptée

Honglei Chen
Honglei Chen le 15 Fév 2012

0 votes

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 commentaire

Ahmed raheem
Ahmed raheem le 15 Fév 2012
thanks for your help
it is quite helpful...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Random Number Generation dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by