Path: Orbit/OrbitCoord
% Compute the transformation matrix that rotates ENU to ECEF coordinates.
ENU is East-North-Up. Assumes spherical Earth.
Since version 8.
--------------------------------------------------------------------------
Form:
T = ENUToECEF( lat, lon )
T = ENUToECEF( r )
--------------------------------------------------------------------------
------
Inputs
------
lat (1,1) Latitude (rad)
lon (1,1) Longitude (rad)
OR
r (3,1) Earth fixed position
-------
Outputs
-------
T (3,3) ENU to ECEF rotation matrix
--------------------------------------------------------------------------
Back to the Orbit Module page