LunarAngle:

Path: SC/Ephem

% Computes the angle needed to see over lunar terrain.

   You need to enter a spherical harmonic lunar topography model.
   It loads the default model from LoadLunarTopography if you don't enter
   s or c. n is the number of azimuth points so it computes the topgraphy
   for the full range of azimuths from 0 to 360 degrees.

   Type LunarAngle for a demo.
--------------------------------------------------------------------------
   Form:
   elevation = LunarAngle( nH, lat, lon, azimuth, s, c, n  )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   nH            (1,1)  Highest harmonic 
   lat           (1,1)  Latitude of the location
   lon           (1,1)  Longitude of the location
   azimuth       (1,:)  Azimuth points starting from north
   s             (:,:)  Normalized sine coefficients
   c             (:,:)  Normalized cosine coefficients
   n             (1,1)  Number of points along each azimuth

   -------
   Outputs
   -------
   elevation    (1,n)  Elevation as a function of azimuth (rad)
   azimuth      (1,n)  Corresponding azimuth (rad)

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

Children:

SC: Ephem/LoadLunarTopography
SC: Ephem/LunarProfile
SC: Ephem/RSHMoon
SC: SCData/gltm2b
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/Mesh2
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Math: Analysis/PAL
Math: Analysis/SCHarm
Math: Linear/DupVect
Math: Linear/Factorl
Math: Linear/Mag

Back to the SC Module page