Star - planet - satellite system animation

A function to create an animation to model the orbitography and the gravitational field of a star - planet - satellite system.
265 Downloads
Updated 23 Jul 2024
For pedagogic / scientific diffusion purpose (gravity shape spacetime).
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.
Parameters -like the ones for the display- may be tuned in the file header.
For instance set sat_path_on / planet_path_on to false/true to disable/enable the satellite/planet path.
To benefit from the file documentation attached, be sure to download all the files.
Please don't forget to rate this code if it helped you. Thanks ;-)

Cite As

Nicolas Douillet (2024). Star - planet - satellite system animation (https://github.com/NicolasDouillet/star_planet_satellite_animation/releases/tag/v4.1.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Gravitation, Cosmology & Astrophysics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
4.1.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/star_planet_satellite_animation/releases/tag/v4.1.1

4.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/star_planet_satellite_animation/releases/tag/v4.1

4.0

See release notes for this release on GitHub: https://github.com/NicolasDouillet/star_planet_satellite_animation/releases/tag/v4.0

3.0

See release notes for this release on GitHub: https://github.com/NicolasDouillet/star_planet_satellite_animation/releases/tag/v3.0

2.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/star_planet_satellite_animation/releases/tag/v2.1

2.0

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

1.3

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

1.2

Nb periods update, typo

1.1

Cover img

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.