Generate exponential distribution of event times
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have to generate event times in the time interval [0; T] with T = 2000 s such that the waiting times between consecutive events are exponentially distributed with mean u = 0.4 s. Then counting the number of events per second.
I thought I could start by looking at each event time as the sum of all previous waiting times. But I am not allowed to use loops in my script, so I kinda got stuck there.
I would appreciate some kind of hint :)
1 Commento
David Goodmanson
il 22 Giu 2020
Modificato: David Goodmanson
il 22 Giu 2020
Hi Borjon, here is one; find out how samples taken from a poisson distribution are related to the problem at hand.
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!