Exponential law transition in Stateflow

2 views (last 30 days)
Olivier NEYRET
Olivier NEYRET on 15 Jul 2021
Answered: Pavan Guntha on 19 Aug 2021
Hello,
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!

s manbetx 845


Release

R2016b

美军陆军nity Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!