www.gusucode.com > 基于matlab月亮绕地球的动画源码程序 > 基于matlab月亮绕地球的动画源码程序/月亮绕地球的动画/nightonearthdemo.m
%% 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 %% 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