MSBME Lab Task Lab8
MSBME Lab Task Lab8
Object:
To simulate a deterministic SIR model for cholera, a specific infectious disease.
Theory:
Cholera is an acute diarrheal illness caused by infection of the intestine with the bacterium Vibrio
cholerae. People can get sick when they swallow food or water contaminated with cholera bacteria. The
infection is often mild or without symptoms, but can sometimes be severe and life-threatening.
I: Infectious individuals – Infectious individuals who have contracted the disease and can
spread it to susceptible individuals.
R: Recovered individuals – individuals who have either recovered and gained immunity or died.
1. Susceptible (S):
ds
=¿ μN−βSI−µS
dt
where:
dI
= βSI−γI−μI
dt
where:
3. Recovered (R):
dR
=γI−μR
dt
where:
Parameters:
Model Assumptions:
% Initial conditions
S0 = 0.99; % 99% of the population is initially susceptible
I0 = 0.01; % 1% of the population is initially infectious
R0 = 0; % No one has recovered initially
MaxTime = 365; % Simulation for 1 year
% Initial populations
S = S0;
I = I0;
R = R0;
% Extract populations
S = pop(:, 1);
I = pop(:, 2);
R = pop(:, 3);
% Plot results
figure;
subplot(3, 1, 1);
plot(t, S, '-g');
xlabel('Time (days)');
ylabel('Susceptibles');
subplot(3, 1, 2);
plot(t, I, '-r');
xlabel('Time (days)');
ylabel('Infectious');
subplot(3, 1, 3);
plot(t, R, '-b');
xlabel('Time (days)');
ylabel('Recovered');
S = pop(1);
I = pop(2);
R = pop(3);
Interpret the plots to understand the epidemic's progression. Identify the peak of the infection, the total
number of recovered individuals, and the impact of transmission and recovery rates on the epidemic's
duration and intensity.This setup provides a comprehensive guide to modeling cholera using the SIR
model, complete with equations, explanations, and MATLAB code.
Flow Diagram:
µN
µ
Susceptible, S
βI/N
µ
Infected, I
γ
µ
Recovered, R