Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfu27 authored Nov 3, 2023
1 parent 067b822 commit c33074f
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions part_III.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@
0 ,0 ,R2to1,0;
0 ,0 ,0 ,0];

%Travel matrix 2
S1to2 = 0.15; %travel rate of Susceptible pop1 to region 2
I1to2 = 0.11;
R1to2 = 0.13;

T_2 = [S1to2, 0 ,0 ,0;
0 ,I1to2 ,0 ,0;
0 ,0 ,R1to2,0;
0 ,0 ,0 ,0];



%Transition Matrix 1
r_infec1 = unknowns_opt_D(1);
Expand All @@ -29,16 +40,6 @@
0 ,0 ,1-r_reinfec1 - R1to2 ,0;
0 ,r_death1, 0 ,1];

%Travel matrix 2
S1to2 = 0.15; %travel rate of Susceptible pop1 to region 2
I1to2 = 0.11;
R1to2 = 0.13;

T_2 = [S1to2, 0 ,0 ,0;
0 ,I1to2 ,0 ,0;
0 ,0 ,R1to2,0;
0 ,0 ,0 ,0];


%Transition Matrix 2
r_infec2 = 0.15;
Expand Down

0 comments on commit c33074f

Please sign in to comment.