SIR Simulink Model Function Block
3 views (last 30 days)
Show older comments
I am modelling a simple SIR model. I have modelled the SIR model in Simulink as shown below:
I want to change the beta constant to a variable input but I dont know how to change the input parameter beta to a time-dependent parameter in Simulink?
I know of the function block in Simulink but how do I input 'time' which is days here. We are simulating for 300 days but how do i input the simulation time at the top which is 300 to become an input for the time-dependent beta
Thanks in advance
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!