geodetic2ned
Transform geodetic coordinates to local north-east-down
Syntax
Description
[
transforms the geodetic coordinates specified by xNorth
,yEast
,zDown
]
= geodetic2ned(lat
,lon
,h
,lat0
,lon0
,h0
,spheroid
)lat
,
lon
, and h
to the local
north-east-down (NED) Cartesian coordinates specified by
xNorth
, yEast
, and
zDown
. Specify the origin of the local NED 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.
[___] = geodetic2ned(___,
specifies the units for latitude and longitude. Specify
angleUnit
)angleUnit
as 'degrees'
(the default) or
'radians'
.