QNadirPoint:

Path: AerospaceUtils/Coord

% Generate a quaternion that points a body vector uB towards nadir.
 The input is the orbit vectors (r,v).
--------------------------------------------------------------------------
   Form:
   qIB = QNadirPoint( r, v, uB )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r           (3,n) Position vectors of an orbit
   v           (3,n) Velocity vectors of an orbit
   uB          (3,1) Body unit vector

   -------
   Outputs
   -------
   qIB         (4,n) Inertial-to-Body quaternions that point uB to nadir

--------------------------------------------------------------------------
 See also: QHills
--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/QHills
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Quaternion/Mat2Q
Common: Quaternion/QMult
Common: Quaternion/QTForm
Common: Quaternion/U2Q
Math: Geometry/Perpendicular
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Unit

Back to the AerospaceUtils Module page