--------------------------------------------------------------------------- Convert from the ECI frame to the NEH frame. This is the frame with x pointing north, y pointing east and U up from the earth's surface. This is not a right handed frame. --------------------------------------------------------------------------- Form: rNEH = RNEH( r, units ) --------------------------------------------------------------------------- ------ Inputs ------ r (3,1) Position vector (m) units (1,:) Units ------- Outputs ------- rNEH (3,1) [N;E;H] ---------------------------------------------------------------------------