# ecef2ned

Transform geocentric Earth-centered Earth-fixed coordinates to local north-east-down

## Description

`[`

transforms the geocentric Earth-centered Earth-fixed (ECEF) Cartesian coordinates
specified by `xNorth`

,`yEast`

,`zDown`

]
= ecef2ned(`X`

,`Y`

,`Z`

,`lat0`

,`lon0`

,`h0`

,`spheroid`

)`X`

, `Y`

, and
`Z`

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.

`[___] = ecef2ned(___,`

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 `ecef2nedv`

function.

## Extended Capabilities

## Version History

**Introduced in R2012b**