State Vector Warping Routine
Suppose you have ECI coordinates corresponding to a specific time (JDi), and you want to keep the relative orientation with respect to Earth at a different time (JDf). This function will calculate new ECI vectors corresponding to the desired time with a fixed position relative to the earth. In effect, this will hold the earth and the satellite orientation in the same place while allowing for time to elapse.
Example function call is shown below:
>> [rf,vf,af] = FixedECI(t0,tf,r0,v0,a0);
Where:
Inputs:
t0 is the initial julian date in days corresponding to the ECI coordinates provided below [1xN]
tf is the julian date in days in which the ECI coordinates are needed [1xN]
r0 is the initial position vectors in the ECI coordinate frame of reference (km) [3xN]
v0 is the initial velocity vectors in ECI coordinate frame of reference (km/s) [3xN]
a0 is the initial acceleration vectors in ECI coordinate frame of reference (km/s^2) [3xN]
Outputs:
rf is the warped position vector in the ECI coordinate frame of reference (km) [3xN]
vf is the warped velocity vector in ECI coordinate frame of reference (km/s) [3xN]
af is the warped acceleration vector in ECI coordinate frame of reference (km/s^2) [3xN]
引用格式
Darin Koblick (2024). State Vector Warping Routine (https://www.mathworks.com/matlabcentral/fileexchange/36426-state-vector-warping-routine), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Mathematics and Optimization > Mapping Toolbox > Coordinate Reference Systems >
- Radar > Mapping Toolbox > Coordinate Reference Systems >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!