N-body simulation with ode45

Gravitational N-body simulation using ode solvers of MATLAB

Download
Download

You are now following this Submission

Cite As

Alex Pedcenko (2026). N-body simulation with ode45 (https://nl.mathworks.com/matlabcentral/fileexchange/75202-n-body-simulation-with-ode45), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Bisection method

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

fixed some typos

Download
1.0.5

fixed trajectory length to plot inconsistency

Download
1.0.4

Added total energy calculation

Download
1.0.3

zipped 2 files

Download
1.0.2

added function file nbody.m

Download
1.0.1

fixed function filename

Download
1.0.0

Download