MATLAB: Erlang Random variable

ahmed raheem

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

Best Answer

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.
Related Question