Newtonian Gravity Simulator

Slingshot a spacecraft around a planet, or launch a satellite into orbit.
210 Downloads
Updated 5 Mar 2015

View License

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 Linux
Categories
Find more on Gravitation, Cosmology & Astrophysics in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0