Gravity Simulator
* Numerical solver via Verlet algorithm
* Fully vectorized code
* N interacting masses
* Rings or spherical clusters of massless particles
* Elliptical orbit initial conditions. Any orientation.
* Lots of test and analysis
* Create indexed screenshots to make movies
For more details (including a full technical note) see http://www.eclecticon.info/physics.htm
Cite As
Andrew French (2024). Gravity Simulator (https://www.mathworks.com/matlabcentral/fileexchange/41381-gravity-simulator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Earth, Ocean, and Atmospheric Sciences >
- Sciences > Physics > Gravitation, Cosmology & Astrophysics >
Tags
Acknowledgements
Inspired: GalaxyModel
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.
gravity_sim/
gravity_sim/functions/
gravity_sim/settings/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |