N-body simulation with leapfrog scheme

Interactive gravitational N-body simulation using Leapfrog DKD scheme.
70 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 (2024). N-body simulation with leapfrog scheme (https://www.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0