Error with the SIR Model
Ältere Kommentare anzeigen
Hello, I am trying to simulate the SIR Model considering N=S+I+R. I get the following errors, concerning the plot, where a variable is not being plotted. Is there anyone who can help me? Thank you

This is the sirn_model_definition file where I declared and defined my parameters:

This is the sirn_model file where I defined the function:

1 Kommentar
Sam Chak
am 28 Mai 2022
Unable to debug images of codes.
Antworten (1)
Alan Stevens
am 28 Mai 2022
0 Stimmen
- Update N at each timestep.
- Plot I and R on a different scale from S.
Kategorien
Mehr zu Converters (High Power) finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!