HorizonAngle:

Path: AerospaceUtils/Coord

% Angle between the horizon and a vector from rG to rS. 
 Angles below the  horizon are zero. Assumes the planet is a sphere.

 Type HorizonAngle for a demo.
--------------------------------------------------------------------------
   Form:
   angle = HorizonAngle( rG, rS )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   rG             (3,1)  Position vector on ground
   rS             (3,:)  Position vector in space

   -------
   Outputs
   -------
   angle          (1,:)  Horizon angle (rad)

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

Children:

Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Math: Linear/DupVect
Math: Linear/Unit

Back to the AerospaceUtils Module page