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.
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 LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |