zombie_ode, a MATLAB code which sets up and solves 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:


matlab_ode, MATLAB codes which set up various ordinary differential equations (ODE).


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 06 November 2020.