N-body simulation engine

Open source engine for simulating the trajectories of an arbitrary number of bodies all together.

You are now following this Submission

To setup the environment, there is a dedicated live script inside the project folder, please follow the instructions inside said file.
This project by itself is complete, yet it's not very user friendly, this is because the main objective is to be the starting point for more powerful programs, so please feel free to modify the code, play with it, build nice UIs (this is the reason it uses .txt files as database).
Please keep in mind that this is the first version and it has been tested only by me and a couple other people, so feel free to leave any advise for future improvement.
Also: it has been tested on Windows and macOS, technically it should be compatible with Linux, but I wasn't able to test it.

Cite As

Leonardo (2026). N-body simulation engine (https://www.mathworks.com/matlabcentral/fileexchange/167116-n-body-simulation-engine), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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