fd_predator_prey_test


fd_predator_prey_test, a MATLAB code which calls fd_predator_prey, which applies the finite difference method to estimate solutions of a pair of ordinary differential equations that model the behavior of a pair of predator and prey populations.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

fd_predator_prey, a MATLAB code which applies the finite difference method (FDM) to a predator-prey system with time dependence and no spatial variation.

Source Code:

PP_100 uses 100 timesteps, which are not enough.

pp_1000 uses 1000 timesteps, which are enough to see that there is a pattern, but not enough to catch the pattern accurately.

pp_10000 uses 10000 timesteps, which are enough.


Last revised on 11 January 2019.