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]
Zitieren als
Darin Koblick (2024). State Vector Warping Routine (https://www.mathworks.com/matlabcentral/fileexchange/36426-state-vector-warping-routine), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Mathematics and Optimization > Mapping Toolbox > Coordinate Reference Systems >
- Radar > Mapping Toolbox > Coordinate Reference Systems >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.3.0.0 | Updated mean obliquity of elliptic equation to be consistent with units. All units in this equation are in degrees. |
||
1.0.0.0 |