TransformEMBRToECI:

Path: Orbit/OrbitCoord

% Transform pos. and vel. from Earth Moon barycenter rotating frame to ECI
   
   The EMBR coordinate frame is +x pointing at the earth along
   the earth-moon line. +z normal to the earth moon plane
   and +y completing the set. Uses MoonV1. Computes the plane
   by looking at the moon vector at jD(k) and then 1 day later.

   Type

   TransformEMBRToECI

   for a demo

   Since version 10.
--------------------------------------------------------------------------
   Form:
   [xECI,vECI,m] = TransformEMBRToECI( xEMBR, jD )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   jD            (1,:)       Julian date (days)
   rEMBR         (3,:)       Position vector in EMBR frame          
   vEMBR         (3,:)       Velocity vector in EMBR frame          
   -------
   Outputs
   -------
   rECI          (6,:)       Position vector in ECI frame
   vECI          (6,:)       Velocity vector in ECI frame
   m              {:}        Rotation matrix

--------------------------------------------------------------------------

Children:

Common: Database/Constant
Common: Graphics/Plot3D
Common: Time/JD2000
Orbit: OrbitCoord/ECIToEarthMoonRot
Orbit: ThreeBody/CRTBPRHS

Back to the Orbit Module page