N-body simulation with leapfrog scheme

Interactive gravitational N-body simulation using Leapfrog DKD scheme.
81 Downloads
Updated 25 Apr 2020

View License

Interactive gravitational N-body simulation using Leapfrog DKD time integration scheme. It will loose symmetry eventually due to accumulation of numerical error, but preserves symmetry better than RK45.

Cite As

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

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0