grazing_ode, a MATLAB code which sets up and solves a pair of ordinary differential equations (ODE) that model the populations of an edible plant, and the herbivore that grazes on it.
In some ways, this problem recalls the predator-prey or Lotka-Volterra ODE, but in this case, there is a stable attracting solution, and strictly positive starting points are gradually attracted to it.
The computer code and data files described and made available on this web page are distributed under the MIT license
grazing_ode is available in a MATLAB version and an Octave version and a Python version.
matlab_ode, MATLAB codes which set up various ordinary differential equations (ODE).