experience and innovation

Now Hiring!

-------------------------------------------------------------------------------
   Gives the location of the GPS satellites at JD.
   Choice of Earth-fixed or ECI reference frames.
-------------------------------------------------------------------------------
   Form:
   [r, v] = GPSSatellite( jD, coord )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   jD            (1,1)   Julian Date
   coord         (1,:)   'ef' or 'eci'

   -------
   Outputs
   -------
   r             (3,24)  Satellite locations
   v             (3,24)  Satellite velocity

-------------------------------------------------------------------------------
   Reference: Kayton, M. and W. R. Fried. (1997.) "Avionics Navigation Systems."
              John Wiley & Sons.
-------------------------------------------------------------------------------