Editor's Note: This was a File Exchange Pick of the Week
A simple animation of the earth orbiting the moon. The relative sizes of the earth and moon are correct, although the distance between them are not.
Cite As
Sam Roberts (2026). Night On Earth (https://au.mathworks.com/matlabcentral/fileexchange/14632-night-on-earth), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Physics > Gravitation, Cosmology & Astrophysics >
- Sciences > Geoscience > Earth and Planetary Science >
Find more on Gravitation, Cosmology & Astrophysics in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
