Three body problem

Just a simple script to compute the trajectory of three bodies under their reciprocal gravitational influence.

Download
Download

You are now following this Submission

Cite As

andrea (2026). Three body problem (https://in.mathworks.com/matlabcentral/fileexchange/96932-three-body-problem), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.2

The 2D version also implements the the Verlet algorithm.

Download
1.0.1

bug fixed

Download
1.0.0

Download