Numerical simulation of population growth
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
darova
am 20 Feb. 2020
Your equations looks like ODE (ordinary differenetila equation)
You need to plot(t,n)?
Antworten (1)
Pravin Jagtap
am 26 Feb. 2020
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
0 Kommentare
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!