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 (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 LinuxCategories
- Sciences > Physics > Gravitation, Cosmology & Astrophysics >
- Sciences > Earth, Ocean, and Atmospheric Sciences > Earth and Planetary Science >
Find more on Gravitation, Cosmology & Astrophysics in Help Center and MATLAB Answers
Tags
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |