predator
Location: http://people.sc.fsu.edu/~jburkardt/classes/math1090_2020/predator/predator.html
predator
describes a predator/prey system of equations.
The notes:
Matlab:
-
dfield9.m,
a program which
allows a user to interactively specify the right hand side of an
ordinary differential equation (ODE). The program then displays
the corresponding direction field. If the user clicks on any point
in the image as an initial condition, the program displays the
corresponding solution curve. The original version of this code
was by John Polking.
-
euler.m,
a revised version of the Euler code, which can handle systems of ODEs.
-
hump_deriv.m,
a function which defines the derivative associated with an ODE.
-
hump_euler.m,
a script to test the Euler code with the hump_deriv function.
-
hump_rk4.m,
a script to test the Rk4 code with the hump_deriv function.
-
predator_deriv.m,
a function which defines the derivatives associated with
the predator-prey ODE system.
-
predator_phase_euler.m,
predator_phase_euler(n) uses n equal Euler steps to create a plot
and phase plane for the predator-prey ODE system.
-
rk4.m,
a fourth-order Runge-Kutta ODE solver.
Images:
Last revised on 06 February 2020.