Events inter-arrival time using exprnd

6 vues (au cours des 30 derniers jours)
Yasmin Tamimi
Yasmin Tamimi le 29 Sep 2014
Hey everyone,
I'm modeling the inter-arrival time between events to be exponentially distributed. But I'm not sure how it really works!lets say that my lambda is 0.5/min because the time interval is 2s. Now exprnd(2,1,1) generates randomly distributed numbers and the separation between events is no longer 2s! Am I using the exprnd in a wrong way? And what difference does it make exprnd(2,1,1) and exprnd(10,1,1)?
Thanks in advance.

Réponses (1)

Star Strider
Star Strider le 29 Sep 2014
It’s been a while since I suffered through queuing theory, but if I remember correctly, arrival times are modeled as a Poisson process. I would use poissrnd.

Community Treasure Hunt

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

Start Hunting!

Translated by