Main Content

Transform geodetic coordinates to local east-north-up

`[`

transforms the geodetic coordinates specified by `xEast`

,`yNorth`

,`zUp`

]
= geodetic2enu(`lat`

,`lon`

,`h`

,`lat0`

,`lon0`

,`h0`

,`spheroid`

)`lat`

,
`lon`

, and `h`

to the local east-north-up
(ENU) Cartesian coordinates specified by `xEast`

,
`yNorth`

, and `zDown`

. 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.