how to act on a probability
Mostrar comentarios más antiguos
I have a simulation for the Grade of Service of a circuit switched mobile network and I need to include how many calls get dropped I have the probabilities for each call and i need to find how many would be dropped in a given run of the simulation. I have no idea how to do this. are there any matlab functions built for realising a probability in a simulation?
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 17 de Oct. de 2022
0 votos
Well, there are two different approaches:
- you could calculate statistically, probability times number of calls, and round() or floor() or ceil() to get a integer. This assumes uniform random distribution; OR
- you could model time-step by time-step, creating new calls, hanging up existing calls normally, faulting existing calls. This might make it easier to model increased probability of dropping calls if the system is busier. You would have to decide whether the "hanging up" is processed before or after the "create new calls" since the creation of new calls needs to fail if you are over capacity.
Categorías
Más información sobre Operators and Elementary Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!