Question: using matlab create a script that projects population based on static: Birth Rate ( BR ) Death Rate ( DR ) Calculate a migration that
using matlab create a script that projects population based on static:
Birth Rate BR
Death Rate DR
Calculate a migration that varies sinesoidally with time. Migration is given by the function Mt Mbase MvarsinpitTper where Mbase is the base migration rate, Mvar is the variance in migration and Tper is the period in time over which it varies.
BR DR Mbase, Mvar, and Tper are provided at the start of the script template. The initial time tinit final time tfinal time step size delt and initial population Pinit are also provided. Please use P for the population variable name and M for the migration variable name. Create P and M as row vectors. Not following these conventions will result in an incorrect answer.
Once you have calculated P plot P and M as a functions of time on a x subplot. Make sure to include axis labels and titles as this is good practice in plotting.
BR;
DR;
tinit;
tfinal;
delt;
Pinit;
Mbase;
Mvar;
Tper;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
