ecef2enu
Transform geocentric Earth-centered Earth-fixed coordinates to local east-north-up
Description
[
                transforms the geocentric Earth-centered Earth-fixed (ECEF) Cartesian coordinates
                specified by xEast,yNorth,zUp]
= ecef2enu(X,Y,Z,lat0,lon0,h0,spheroid)X, Y, and
                    Z to the local east-north-up (ENU) Cartesian coordinates
                specified by xEast, yNorth, and
                    zUp. Specify the origin of the local ENU 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.
[___] = ecef2enu(___,
                specifies the units for latitude and longitude. Specify
                    angleUnit)angleUnit as 'degrees' (the default) or
                    'radians'.
Examples
Input Arguments
Output Arguments
Tips
To transform vectors instead of coordinate locations, use the ecef2enuv function.