SIRModelSimulation

% This file simulates SIR model for the spread of infectious diseases
461 Downloads
Updated Sun, 29 Mar 2020 18:35:09 +0000

View License

% Np = the population of the community. (Default = 100, so you easily
% read the percentage of the community infectious/infected)
% Ni = the number of index case (initial infecious individual, Default = 1).
% Ds = is the minimum safe distance below which the probability of being
% infected is Prinf (Measure of how contagious the disease is:
% Lower means more contagious. Default = 0.05).
% Prinf = probability that you will be infected if you are closer than Ds
% to an infectious iindividial (Measure of how precautious people
% are: washing hands, not touching mucus membrane. Default = 0.2).
% Tr = Time it takes for an individual to be removed from the population
% (Death, Quarantined, Recovered and become immuned. Default = 1).
% F = Relative repulsive force strength (measure of social distancing Default = 1)
% videoname = Simulation video file name

Cite As

Lateef Adewale Kareem (2024). SIRModelSimulation (https://www.mathworks.com/matlabcentral/fileexchange/74762-sirmodelsimulation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Epidemiology in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.1

Added COVID19 in the tag

1.0.0