Newtonian Gravity Simulator
Version 1.0.0.0 (1.57 KB) by
David Williams
Slingshot a spacecraft around a planet, or launch a satellite into orbit.
Just Enter a matrix of particles in the "particles" matrix at the beginning of the code. Click run. The matrix is composed of rows define as follows [xlocation ylocation radius xvelocity yvelocity mass]
Please share your insight, and let me know if you think this implementation is theoretically sound.
Cite As
David Williams (2026). Newtonian Gravity Simulator (https://www.mathworks.com/matlabcentral/fileexchange/49923-newtonian-gravity-simulator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Physics > Gravitation, Cosmology & Astrophysics >
- Sciences > Geoscience > Earth and Planetary Science >
Find more on Gravitation, Cosmology & Astrophysics in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
