Main Content
lla2ecef
Convert geodetic coordinates to Earth-centered Earth-fixed (ECEF) coordinates
Description
converts an m-by-3 array of geodetic coordinates (latitude, longitude and
altitude), ecef
= lla2ecef(lla
)lla
, to an m-by-3 array of ECEF
coordinates, ecef
. Units are in meters.
converts the coordinates for a specific ellipsoid planet. ecef
= lla2ecef(lla
,model
)
converts the coordinates for a custom ellipsoid planet defined by flattening,
ecef
= lla2ecef(lla
,f
,Re
)f
, and the equatorial radius, Re
, in meters.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2006b