How can I add an exponential distribution to a Single server in Simulink?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a Simulink file with a single server. I want this single server to have an exponential distributed service time with a mean of 10^-3. How can I add this? In the block Single server, I think I have to do Service Time from: "Signal from port t". But how to make an exponential distributed signal with this mean?
0 Commenti
Risposta accettata
Ryan G
il 31 Dic 2012
If you took my advice from the previous answer, you can use the same Attribute function to apply an exponentially random number to the entity:
out_expRandNum = random('exp',10e-3);
You can then use the expRandNum attribute in the server by using the Service Time From Attribute option. Otherwise you can use 'From Signal Port t' and the event based random number setup for an exponential variation.
1 Commento
Mai Mohamed
il 19 Mag 2023
i apply that adding event based random number to single server to add exponential distribution failure with mean 0.01
how can i add exponential distribution repaire with mean 0.1?
Più risposte (1)
Ry
il 31 Dic 2012
2 Commenti
Mai Mohamed
il 19 Mag 2023
i apply that adding event based random number to single server to add exponential distribution failure with mean 0.01
how can i add exponential distribution repaire with mean 0.1?
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!