Gravity Simulator
                    Version 1.0.0.0 (34.2 KB) by  
                  Andrew French
                
                
                  A dynamic three dimensional N-body gravity simulator! 
                
                  
              * Numerical solver via Verlet algorithm
* Fully vectorized code
* N interacting masses
* Rings or spherical clusters of massless particles
* Elliptical orbit initial conditions. Any orientation.
* Lots of test and analysis
* Create indexed screenshots to make movies
For more details (including a full technical note) see http://www.eclecticon.info/physics.htm
Cite As
Andrew French (2025). Gravity Simulator (https://se.mathworks.com/matlabcentral/fileexchange/41381-gravity-simulator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R2011a
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
      Find more on Geoscience in Help Center and MATLAB Answers
    
  Tags
Acknowledgements
Inspired: GalaxyModel
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.
gravity_sim/
gravity_sim/functions/
gravity_sim/settings/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | 
