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:

Common: Graphics/Plot2D
Math: Linear/DupVect
Math: Linear/Mag
SC: Ephem/LoadLunarTopography
SC: Ephem/LunarProfile
SC: Ephem/RSHMoon

Back to the SC Module page