RV2RADec:

Path: Orbit/OrbitCoord

% Right ascension and declination with their rates from position and velocity vectors.  
   You can just enter r to get just rA and dec.
--------------------------------------------------------------------------
   Form:
   [rA, dec, rARate, decRate] = RV2RaDec( r, v )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r            (3,n)     Position vectors
   v            (3,n)     Velocity vectors

   -------
   Outputs
   -------
   rA           (1,n)     Right ascension
   dec          (1,n)     Declination
   rARate       (1,n)     Right ascension rate
   decRate      (1,n)     Declination rate

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

Children:

Math: Linear/Dot
Math: Linear/Mag
Math: Linear/Unit

Back to the Orbit Module page