Numerical simulation of population growth

조회 수: 4 (최근 30일)
Clementine Furber
Clementine Furber 2020년 2월 20일
답변: Pravin Jagtap 2020년 2월 26일
I am trying to numerically simulate the population growth model dn/dt=rn(n/u-1)(1-n/k) If u=1000 and k = 2000, plot solutions for 5 different values of N(0) < 3000. I know how to plot I am just not sure how I am supposed to go about numerically simulating the model.
  댓글 수: 1
darova
darova 2020년 2월 20일
Your equations looks like ODE (ordinary differenetila equation)
You need to plot(t,n)?

댓글을 달려면 로그인하십시오.

답변 (1개)

Pravin Jagtap
Pravin Jagtap 2020년 2월 26일
Hello Clementine,
As mentioned above, if you are dealing with ODE refer to following documentation of 'ode45' to solve the ODE:
In your case, you can solve the ODE for five different initial conditions and get the solution.
Hope, this will help you

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by