Parallax:

Path: SC/Ephem

% Calculate the parallax
 Computes the parallax of a target when viewed by an observer offset from the
 origin of the reference frame.
--------------------------------------------------------------------------
   Form:
   [u, parallax] = Parallax( rT, rO )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   rT        (3,1)   Position vector of the target
   rO        (3,1)   Position vector of the observer

   -------
   Outputs
   -------
   u         (3,1)   Unit vector to the target
   parallax  (1,1)   Parallax (rad)

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

Children:

Math: Linear/Unit

Back to the SC Module page