MATLAB Examples

Earth and Moon from Space

An animated earth and moon.

Image Credit: NASA Visible Earth. Images downloaded from http://visibleearth.nasa.gov

Marta Wilczkowiak and Sam Roberts

Contents

Display a screenshot from the program

im = imread('nightonearthscreenshot.png');
image(im);
set(gca,'Visible','off');

Run the program, giving a rotating globe with orbiting moon

nightonearth