Is it possible to model discrete populations using ode45?
Mostrar comentarios más antiguos
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
Respuestas (1)
Sean de Wolski
el 16 de Dic. de 2013
0 votos
It sounds like you will need to include an event that happens when Y <= 1.
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!