image thumbnail

Trojan Asteroids Simulation

version 1.0.1 (30.1 KB) by p fontaine
Simulation of Trojan Asteroids of a Binary System


Updated 08 Jan 2019

View License

Simulation of Trojan Asteroids of a Binary System

The 3D display is made in inertial frame or rotating frame linked to the binary system

Modify the parameters 'm1/m2/r12' in 'simTrojanInit.m' in order to change the binary system ( by default Sun / Jupiter )
Modify the parameter 'np' in the block 'initialization' in order Increase/decrease the number of asteroids ( by default 20 )
Modify the parameter 'n' in 'plot3D.m' in order to get remanent trajectories (set it to 50 or more )

Reference :

Cite As

p fontaine (2021). Trojan Asteroids Simulation (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
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!