Newtonian Gravity Simulator

Slingshot a spacecraft around a planet, or launch a satellite into orbit.
200 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 (2024). 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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0