Is it possible to model discrete populations using ode45?

Hi,
I am undertaking some population modelling, and the population size falling below 1 (between 0 and 1) is introducing some inaccuracies. Does anyone know of a way to either: - Limit the minimum population size? - Instruct the solver to only deal with integers?
Many thanks,
A

Asked:

on 16 Dec 2013

Answered:

on 16 Dec 2013

Community Treasure Hunt

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

Start Hunting!