henon_heiles_ode, a MATLAB code which sets up and solves the Henon-Heiles ordinary differential equations (ODE) for the motion of a star moving around a galactic center.


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


henon_heiles_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. Michel Henon, Carl Heiles,
    The applicability of the third integral of motion: Some numerical experiments,
    The Astronomical Journal,
    Volume 69, pages 73-79, 1964.

Source Code:

Last revised on 23 April 2021.