enu2ecef
Transform local east-north-up coordinates to geocentric Earth-centered Earth-fixed
Description
[
transforms the local east-north-up (ENU) Cartesian coordinates specified by
X
,Y
,Z
]
= enu2ecef(xEast
,yNorth
,zUp
,lat0
,lon0
,h0
,spheroid
)xEast
, yNorth
, and
zUp
to the geocentric Earth-centered Earth-fixed (ECEF)
Cartesian coordinates specified by X
, Y
,
and Z
. 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.
[___] = enu2ecef(___,
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 enu2ecefv
function.