aer2ecef
Transform local spherical coordinates to geocentric Earth-centered Earth-fixed
Description
[
                transforms the local azimuth-elevation-range (AER) spherical coordinates specified
                by X,Y,Z]
= aer2ecef(az,elev,slantRange,lat0,lon0,h0,spheroid)az, elev, and
                    slantRange to the geocentric Earth-centered Earth-fixed
                (ECEF) Cartesian coordinates specified by X,
                    Y, and Z. Specify the origin of the
                local AER system with the geodetic coordinates lat0,
                    lon0, and h0. Each coordinate input
                argument must match the others in size or be scalar. Specify
                    spheroid as the reference spheroid for the geodetic
                coordinates.
[___] = aer2ecef(___,
                specifies the units for azimuth, elevation, latitude, and longitude. Specify
                    angleUnit)angleUnit as 'degrees' (the default) or
                    'radians'.