DSPRelated.com
Forums

random sample generation from Hyper-Erlang distribution

Started by tpkay2001 February 4, 2009
Dear All,

my project requires me to generate random samples which follow a Hyper-
Erlang distribution. How can i do this in Matlab?

In my case, the Hyper-Erlang distribution consists of weighted sum of 2
erlang distributions. (very much the same as hyper exponential
distirbution, which is made up of weighted sum of exponentials)
Matlab is able to generate random samples from some common
distributions, such as Exponential (exprnd), Gamma (gamrnd), etc..

any help is greatly appreciated.