DownrangeAndAltFromTarget:

Path: AerospaceUtils/Coord

% Finds the altitude and downrange from a target on a planet.

 Given the current spacecraft location, r, and a target point rT on the surface
 of the planet, computes the altitude and  downrange distance (distance
 along an arc on surface).

 Type DownrangeAndAltFromTarget for a demo.
--------------------------------------------------------------------------
   Form:
   [d,h] = DownrangeAndAltFromTarget( r, rT )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r     (3,:)   Spacecraft location
   rT    (3,1)   Target point

   -------
   Outputs
   -------
   d     (1,:)   Down range distance
   h     (1,:)   Altitude
   
--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/TargetFromRPVD
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Quaternion/AU2Q
Common: Quaternion/Mat2Q
Common: Quaternion/QForm
Math: Linear/Cross
Math: Linear/Mag
Math: Linear/Unit

Back to the AerospaceUtils Module page