Question: Just analysis the SIR model in matlab. And here is the given data RIN R The model in this model the vital rates are dismissed.
RIN R The model in this model the vital rates are dismissed. S. = S, - R.1 =R+ yl The parameters Gamma-0.99; R_0-1.85; Beta-1.831683; N-150; Pop-7000; S 2 Time / so to K R Memory and initial conditions. Day one: Agust 14, 2020 U-zeros(N,3); U(1,3)-0.45; U(1,2)-0.003; 0(1,1)=1-U(1,3) -U(1,2); Notation: uitul :) = [uct. 1- Buch Sct. 2). Uit, 2) + BUCUNU (4,2)-YU(+2) Uit 3) + YU(t, 2) S, U(1.1) I, = U6.2) R=U (1.3). The loop for t1:N u(t+1,:)-[u(t,1)-Beta*u(t, 2) *U(t,2), u(t, 2)+Beta-u(t,1)U(t,2)-Gamma-u(t,2), u(t,3)+Gamma"u(t.2); end Data:[20, 21, 21, 22, 23,22, 28, 20, 21, 22,17,17,19,18,18,18,17,13,12,18,7,7,7,6,6,7,6,5,5,5,4,5,6,6,7,7,7,7,6,5,2]; Size( ans - 102 1 41 plot(1:41,C(1:41,2), 1:41, Data, 'ro)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
