Path: Orbit/OrbitMechanics
% Load a set of NORAD elements (TLEs) and convert to Cartesian states
Calls NORAD. May take a few minutes for very long files.
See http://celestrak.com/NORAD/archives/ for historical data sets.
This function has a built-in demo using historical data for Mir.
--------------------------------------------------------------------------
Form:
[r, v, jD, s, x] = LoadNORAD( fName, model, kMax )
--------------------------------------------------------------------------
------
Inputs
------
fName (:) File name
model (:) Propagation model, SGP, SGP4, etc.
kMax (1,1) Maximum number of points to get (default: 1e4)
-------
Outputs
-------
r (3,:) Position vectors
v (3,:) Velocity vectors
jD (1,:) Epoch, in Julian date
s {:} Cell array of element set strings
x (:) Data structure of NORAD info
--------------------------------------------------------------------------
See also: ConvertNORAD, NORADToEl
--------------------------------------------------------------------------
Orbit: OrbitMechanics/NORAD Common: Graphics/Plot2D Common: Graphics/Plot3D Common: Graphics/TimeLabl Common: Time/Date2JD
Back to the Orbit Module page