RHAzToECEF:

Path: Orbit/OrbitCoord

% Transform (range,azimuth) to (latitude,longitude) coordinates

   Since version 8.
--------------------------------------------------------------------------
   Form:
   [rEFx,rEFy,rEFz,lat,lon] = RHAzToECEF( r, h, az, latLon0, R )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r              (1,:)      Range along sphere (km)
   h              (1,:)      Altitude above sphere (km)
   az             (1,:)      Azimuth angle (rad)
   latLon0        (2,1)      Reference latitude and longitude (rad)
   R              (1,1)      Sphere radius (default Earth: 6378.14 km)
   plt            (1,1)      Plot flag. Set to 1 to create plot. Default 0

   -------
   Outputs
   -------
   rEFx           (1,:)      x component of Earth-fixed coordinates
   rEFx           (1,:)      y component of Earth-fixed coordinates
   rEFx           (1,:)      z component of Earth-fixed coordinates
   lat            (1,:)      Latitude on sphere
   lon            (1,:)      Longitude on sphere
--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/LLAToECEF
Common: Graphics/Map
Orbit: OrbitCoord/RAzToLatLon

Back to the Orbit Module page