ViewFormation:

Path: FormationFlying/Visual

% View the 3-D trajectory of a formation in Hills frame.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   h = ViewFormation( el0, g, h, color )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0             (1,6)     Reference orbital elements (Alfriend format) [a,th,i,q1,q2,W]
   g                (.)      Geometric goals data structure with following fields:
                                - y0     along-track offset                       [km]
                                - aE     semi-major axis of relative ellipse      [km]
                                - beta   angle on ellipse at perigee              [rad]
                                - zInc   cross-track amp. due to inc. diff        [km]
                                - zLan   cross-track amp. due to right ascen diff [km]
   h                (1)      Figure handle (optional)
   color            (:)      Color to display the trajectory in (optional)
                                - can be a string (ie, 'r') or a 3x1 vector

   -------
   Outputs
   -------
   h                (1)     Figure handle

--------------------------------------------------------------------------

Children:

FormationFlying: Coord/CirclePhase
FormationFlying: Coord/EllipsePhase
FormationFlying: Coord/RotateState
FormationFlying: Transformation/Goals2Hills
SC: BasicOrbit/OrbRate
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/IsVersionAfter
Common: General/MatToCell
Common: General/StringToTokens
Common: General/Watermark
Common: Graphics/AddAxes
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Quaternion/Q2Mat
Math: Linear/Mag
Math: Trigonometry/WrapPhase

Back to the FormationFlying Module page