Main Content

3-D Coordinate and Vector Transformations

Transform coordinates and vector components between global and local systems; find intersection with spheroid

Transform 3-D coordinates between Earth-centered Earth-fixed (ECEF), geodetic, east-north-up (ENU), north-east-down (NED), and azimuth-elevation-range (AER) systems. Transform 3-D vector components between ECEF, ENU, and NED systems.

The type of transformation function you choose depends on your data. If your data represents position relative to the origin of a system, choose a coordinate transformation. If your data represents quantities such as velocity or acceleration, choose a vector transformation function.

Functions

expand all

aer2ecefTransform local spherical coordinates to geocentric Earth-centered Earth-fixed
enu2ecefTransform local east-north-up coordinates to geocentric Earth-centered Earth-fixed
geodetic2ecefTransform geodetic coordinates to geocentric Earth-centered Earth-fixed
ned2ecefTransform local north-east-down coordinates to geocentric Earth-centered Earth-fixed
ecefOffsetCartesian ECEF offset between geodetic coordinates
aer2geodeticTransform local spherical coordinates to geodetic
ecef2geodeticTransform geocentric Earth-centered Earth-fixed coordinates to geodetic
enu2geodeticTransform local east-north-up coordinates to geodetic
ned2geodeticTransform local north-east-down coordinates to geodetic
lookAtSpheroidLine of sight intersection with oblate spheroid
aer2enuTransform local spherical coordinates to local east-north-up
ecef2enuTransform geocentric Earth-centered Earth-fixed coordinates to local east-north-up
geodetic2enuTransform geodetic coordinates to local east-north-up
aer2nedTransform local spherical coordinates to local north-east-down
ecef2nedTransform geocentric Earth-centered Earth-fixed coordinates to local north-east-down
geodetic2nedTransform geodetic coordinates to local north-east-down
ecef2aerTransform geocentric Earth-centered Earth-fixed coordinates to local spherical
enu2aerTransform local east-north-up coordinates to local spherical
geodetic2aerTransform geodetic coordinates to local spherical
ned2aerTransform local north-east-down coordinates to local spherical
ecef2enuvRotate geocentric Earth-centered Earth-fixed vector to local east-north-up
ecef2nedvRotate geocentric Earth-centered Earth-fixed vector to local north-east-down
enu2ecefvRotate local east-north-up vector to geocentric Earth-centered Earth-fixed
ned2ecefvRotate local north-east-down vector to geocentric Earth-centered Earth-fixed

Topics

Choose a 3-D Coordinate System

Choose a coordinate transformation function based on your data.

Vectors in 3-D Coordinate Systems

Vector transformations differ from coordinate transformations.

Find Ellipsoidal Height from Orthometric Height

Find the ellipsoidal height of a point by using its orthometric height and a geoid model.

Featured Examples