robertson_ode, a MATLAB code which sets up and solves a system of three nonlinear stiff ordinary differential equations (ODE) characterizing an autocatalytic chemical reaction.


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


robertson_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).


  1. Ernst Hairer, Gerhard Wanner,
    Solving Ordinary Differential Equations II: Stiff and Differential-algebraic Problems,
    Springer-Verlag, second revised edition, 1996.
  2. H H Robertson,
    The solution of a set of reaction rate equations,
    Academic Press, pages 178-182.

Source Code:

Last revised on 25 April 2021.