N-body simulation with leapfrog scheme

version 1.0.0 (2.88 KB) by Alex Pedcenko
Interactive gravitational N-body simulation using Leapfrog DKD scheme.

38 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 (2022). 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!