Exponential law transition in Stateflow
6 views (last 30 days)
Show older comments
Olivier NEYRET on 15 Jul 2021
Answered: Pavan Guntha on 19 Aug 2021
I am working on a project on stateflow. I want to use exponential law but not on a deterministic way. I wanted to know if it was possible to use "random" transition with exponential law.
Pavan Guntha on 19 Aug 2021
You could have a look at the Markov Chain Model of Radar Detector example to understand about designing non-deterministic transitions within a stateflow chart. You could replace the Uniform random number block used in the model with the equivalent logic implementation of Exponential law.
Hope this helps!
Find more on Stateflow 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!