SIR Epidemic Spread Model
Version 1.0.0 (55.8 KB) by
Giovanni Valentini
This is a live script that explores the SIR model in order to simulate the spread of a virus over time.
The SIR model has been developed in the past years to simulate the spread of a virus over time. The script includes a brief introduction, in which the model is presented, and the code to run the simulation of the epidemic over time. Two cases are analysed: one without immunity loss, where recovered individuals don't get infected again, and one with immunity loss.
Cite As
Giovanni Valentini (2024). SIR Epidemic Spread Model (https://www.mathworks.com/matlabcentral/fileexchange/75100-sir-epidemic-spread-model), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Epidemiology in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |