Newtonian Gravity Simulator

Slingshot a spacecraft around a planet, or launch a satellite into orbit.

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0