GenerateTimeVector:

Path: FormationFlying/Collision

% Generate a time vector evenly spaced over true anomaly 
  (for an eccentric orbit)

--------------------------------------------------------------------------
   Form:
   [t,M,nu] = GenerateTimeVector(d,tF,nPts)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d          (:)    Collision data structure
   tF        (1,1)   Final propagated time
   nPts      (1,1)   Number of discretization points per orbit

   -------
   Outputs
   -------
   t         (1,n)   Time vector
   M         (1,n)   Mean anomaly vector
   nu        (1,n)   True anomaly vector

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

Children:

SC: BasicOrbit/M2Nu
SC: BasicOrbit/M2NuAbs
SC: BasicOrbit/Nu2M
SC: BasicOrbit/OrbRate
Common: Graphics/Plot2D
Math: Trigonometry/UnwrapPhase

Back to the FormationFlying Module page