Numerical Solutions of Kepler's Equation

A demo script for a suite of MATLAB functions for solving Kepler's equation.
1.3K Downloads
Updated 6 Feb 2026

View License

This submission is a MATLAB script named demo_kepler which demonstrates how to interface with several MATLAB functions that solve Kepler’s equation for circular, elliptical, parabolic and hyperbolic orbits. The algorithms included in this submission are;
kepler1 - Danby's method
kepler2 - Danby's method with Mikkola initial guess
kepler3 - Gooding's two iteration method
kepler4 - parabolic and near-parabolic orbits
kepler_series - series solution to Kepler's equation

Cite As

David Eagle (2026). Numerical Solutions of Kepler's Equation (https://www.mathworks.com/matlabcentral/fileexchange/39031-numerical-solutions-of-kepler-s-equation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Partial Differential Equation Toolbox in Help Center and MATLAB Answers
Version Published Release Notes
1.1.0.0

Added demo script and series algorithm. Updated PDF documentation

1.0.0.0