File Exchange

image thumbnail

Star - planet - satellite system animation

version 2.1 (2.03 KB) by Nicolas Douillet
A function to create an animation to model the orbitography and the gravitational fields of a star - planet - satellite system .


Updated 12 Aug 2020

GitHub view license on GitHub

For pedagogic / scientific diffusion purposes.

F5 in Star_planet_satellite_animation.m or Star_planet_satellite_animation in console to run the main program and create the animation file named 'Star_planet_satellite_system.gif' that will appear in the same directory as you registered this .m file.

Some parameters -like the one for display- may be tuned at the top of the file.
For instance set sat_path_on / planet_path to false/true to disable/enable the satellite/planet path.

Cite As

Nicolas Douillet (2020). Star - planet - satellite system animation (, GitHub. Retrieved .

Comments and Ratings (0)



See release notes for this release on GitHub:


+ planet elliptic path option (a,b) = semi major / minor axes


All functions in one file only. + comments, + option


Nb periods update, typo


Cover img

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux