Path: LunarMissions/LunarCoord
% Transform ECI pos. and vel. to Earth Moon barycenter rotating frame.
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
TransformECIToEMBR
for a demo
Since version 10.
--------------------------------------------------------------------------
Form:
[rEMBR,vEMBR,m] = TransformECIToEMBR( jD, rECI, vECI )
--------------------------------------------------------------------------
------
Inputs
------
rECI (6,:) Position vector in ECI frame
vECI (6,:) Velocity vector in ECI frame
jD (1,:) Julian date (days)
-------
Outputs
-------
rEMBR (6,:) Position vector in EMBR frame
vEMBR (6,:) Velocity vector in EMBR frame
m {:} Rotation matrix
--------------------------------------------------------------------------
LunarMissions: LunarCoord/ECIToEarthMoonRot Common: Database/Constant Common: Graphics/Plot3D Common: Time/JD2000
Back to the LunarMissions Module page