RotateStateDemo:

% Demonstrate the RotateState function
 Demonstrate the RotateState function by rotating the specified 
 geometric state through a variety of phase angles, then animate
 the resulting motion. All states should follow the same elliptical
 motion, but have different phases on the ellipse.

   Since version 7.
 -------------------------------------------------------------------------
   Form:
   RotateStateDemo( geom, n );
 -------------------------------------------------------------------------

   ------
   Inputs
   ------
   geom         (.)    Geometric goal set                  (optional)
   n            (1)    Number of rotated states to compute (optional)

   -------
   Outputs
   -------
   none

 -------------------------------------------------------------------------
  See also RotateState, ViewRelativeMotion
 -------------------------------------------------------------------------
%
--------------------------------------------------------------------------
  Copyright (c) 2003 Princeton Satellite Systems, Inc.
  All rights reserved.
--------------------------------------------------------------------------

Children:

FormationFlying: Coord/RotateState
FormationFlying: Visual/ViewRelativeMotion