Events inter-arrival time using exprnd
Show older comments
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.
Answers (1)
Star Strider
on 29 Sep 2014
0 votes
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.
Categories
Find more on Poisson Distribution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!