moons - % for T=0:27 subplot(4,7,T+1) % subplot arranges...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% Script moons.m % Eric Young % CS 100 M % figure (1) hold on h % Set values to be used in function call % hc=0 vc=0 r=2 r % iterates through each of the 'T's' drawing the corresponding moon % draws 28 moons in total
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % for T=0:27 subplot(4,7,T+1) % subplot arranges pictures in 4x7 matrix axis equal off PaintMoon(hc,vc,r,T) % function call to draw moon of period T end...
View Full Document

Ask a homework question - tutors are online