Visualize relative orbital motion in the inertial frame.
Select Animate->Play from the menu, or hit CTRL+A / CMD+A to play. Use the View menu to change viewpoints, so that you can see the motion from different perspectives. ------------------------------------------------------------------------- See also Animator, AddView, AddZoom, Map, Period, RVFromKepler -------------------------------------------------------------------------
%-------------------------------------------------------------------------- % Copyright 2007 Princeton Satellite Systems, Inc. % All rights reserved. %-------------------------------------------------------------------------- ela = [8000,pi/2,0,0,0,0]; elb = ela; elb(5)=ela(5)+.1; elb(2)=ela(2)+10*pi/180; T = Period(ela(1)); t = linspace(0,T*4,1000); [ra,va]=RVFromKepler(ela,t); [rb,vb]=RVFromKepler(elb,t); Map; Animator(gcf,{ra,rb},[1 1],{'b-.','r-.'},[30 30]); AddView AddZoom set(gca,'projection','perspective') %-------------------------------------- % PSS internal file version information %--------------------------------------