zombie_ode, a Python code which sets up a system of ordinary differential equations (ODE) for a generalized Susceptible/Infected/Recovered (SIR) epidemic model that simulates a zombie attack, by Philip Munz.


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


zombie_ode is available in a MATLAB version and an Octave version and a Python version.

Related Data and codes:

python_ode, Python codes which sets up various systems of ordinary differential equations (ODE).


Original MATLAB version by Philip Munz.


  1. David Griffiths, Desmond Higham,
    Numerical Methods for Ordinary Differential Equations,
    Springer, 2010,
    ISBN13: 978-0-85729-147-9.
  2. Philip Munz, Ioan Hudea, Joe Imad, Robert Smith,
    When Zombies Attack!: Mathematical Modelling of an Outbreak of Zombie Infection,
    Infection Disease Modelling Progress,
    Editors: J M Tchuenche, C Chiyaka,
    Nova Science Publishers, 2009.

Source Code:

Last modified on 08 November 2020.