Path: Orbit/OrbitCoord
% This function takes a position vector and orbit normal vector in ECI and returns the rotation matrix that rotates from the ECI frame to the orbital plane. In the orbital plane, the y vector is aligned with r, the z vector is aligned with n, and x completes the right-hand system. -------------------------------------------------------------------------- Form: R = ECI2OrbitPlane( r, n ) -------------------------------------------------------------------------- ------ Inputs ------ r (3,1) Position vector in ECI frame n (3,1) Normal vector in ECI frame ------- Outputs ------- R (3,3) Rotation matrix from ECI to Orbital Plane See also: OrbNEl, OrbitalPlane --------------------------------------------------------------------------
Math: Linear/Cross Math: Linear/Unit
Back to the Orbit Module page