G = ecf2eci(Gecf,[eRate]) [R, V] = ecf2eci(TALO,Recf,[Vecf],[eRate])
Converts coordinate frame from earth-centered fixed (ECF), in which the coordinate frame is fixed to the rotating earth, to earth-centered inertial (ECI), in which the coordinate frame is fixed at a specific time.
Parameters |
Description |
Gecf [struct] |
ECF geometry structure or comma separated list of (TALO,Recf,[Vecf],...) |
TALO [vector] |
Column vector (Nx1) of the sample times (sec) |
Recf [Nx3 matrix] |
N 3-element ECF position vectors (m) |
Vecf [Nx3 matrix] |
(Optional) N 3-element ECF velocity vectors (m/s) |
eRate [scalar] |
(Optional) Earth rotation rate (rad/s). Must pass in Vecf (can be []) to specify earth rotation rate. |
Return Values |
Description |
G [struct] |
If Gecf is a structure, the output G will be a structure with position and velocity vectors in ECI coordinates. |
R [Nx3 matrix] |
ECI position vectors (m) |
V [Nx3 matrix] |
ECI velocity vectors (m/s) |
Copyright (c) 2009. All rights reserved.
|
What do you think about this topic? Send feedback!
|