kepler_perturbed_ode, a MATLAB code which sets up and solves an ordinary differential equation (ODE) which models a perturbed Kepler two-body gravitational problem.


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


kepler_perturbed_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, Christian Lubich, Gerhard Wanner,
    Geometric Numerical Integration: Structure-Preserving Algorithms for Ordinary Differential Equations,
    Springer, 2006,
    ISSN: 0179-3632.

Source Code:

Last revised on 23 April 2021.