Answered step by step
Verified Expert Solution
Question
1 Approved Answer
using Matlab Modify the model derived in class to assess the following situation. Suppose an epidemic ( which shall remain nameless ) raises all group
using Matlab Modify the model derived in class to assess the following situation. Suppose an epidemic which shall remain nameless raises all group death rates for given period of time ie it works much like the pulse script from last week & problem This epidemic also lowers b birthrate. Assume migration is constant for group P
SETUP:
parameters bddddttt where
b birth rate in group
di death rates in group Pi
tij, transition from group Pi to group Pj due to ageing
Epidemic effects bEpifactor,drateEpifactor,tStartEpi,tEndEpi where
bEpifactor, bEpi bbEpifactor
drateEpifactor, dEpi ddrateEpifactor etc.
Mann, constant migration rate for P
initial conditions PinitPinitPinitPinit
time data tinittfinal,delt
RESULTS:
PPPP group time histories as row vectors. If these conventions are not followed an incorrect answer will result. Parameters
b;
d;
d;
d;
d;
t;
t;
t;
bEpifactor; decreases b
drateEpifactor; increases di
tStartEpi;
tEndEpi;
Migration effect M
Mann;
Initial conditions in s for convenience
Pinit;
Pinit;
Pinit;
Pinit;
Solution control data
tinit;
tfinal;
delt;
Your code goes here
DISPLAY RESULTS SECTION THIS SECTION WILL HELP YOU VISUALIZE YOUR RESULTS
figure
subplot
plottP:tP:'LineWidth',;
titleCase : Epidemic. P P histories';
xlabelt years';
ylabelP P;
legendPP;
grid on
subplot
plottP:tP:tP:tP:
:'LineWidth',;
titleP P P P histories';
xlabelt years'
ylabelP P P P;
legendPPPP
grid on
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started