Exponential law transition in Stateflow

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)

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!

Categories

Products

Release

R2016b

Asked:

on 15 Jul 2021

Answered:

on 19 Aug 2021

Community Treasure Hunt

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

Start Hunting!