Clear Filters
Clear Filters

Exponential law transition in Stateflow

3 views (last 30 days)
Olivier NEYRET
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.

Answers (1)

Pavan Guntha
Pavan Guntha on 19 Aug 2021
Hello Olivier,
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 Complex Logic 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!