I want to run the SGP4 propagator for the ISS (ID = 25544) I got from spacetrack.org in MATLAB. I don't know where to get the inputs of the function. Where do I get the inFile and outFile that is mentioned in the following function. % Purpose: % This program shows how a Matlab program can call the Astrodynamic Standard libraries to propagate % satellites to the requested time using SGP4 method. % % The program reads in user's input and output files. The program generates an % ephemeris of position and velocity for each satellite read in. In addition, the program % also generates other sets of orbital elements such as osculating Keplerian elements, % mean Keplerian elements, latitude/longitude/height/pos, and nodal period/apogee/perigee/pos. % Totally, the program prints results to five different output files. % % % Usage: Sgp4Prop(inFile, outFile) % inFile : File contains TLEs and 6P-Card (which controls start, stop times and step size) % outFile : Base name for five output files % Example too run this application: >>Sgp4Prop('./input/rel14.inp', 'test.out') function Sgp4Prop(inFile, outFile) fprintf('Program starts.\n'); tStart = tic; EPSI = 0.00050; % TIME TOLERANCE IN SEC. if(nargin ~= 2) fprintf('Error in number of parameters passed. Please see the usage.\n\n'); fprintf('Usage : Sgp4Prop(inFile, outFile)\n'); fprintf('inFile : File contains TLEs and 6P-Card (which controls start, stop times and step size)\n'); fprintf('outFile : Base name for five output files\n'); error('myApp:argChk', 'Wrong number of input arguments'); end
I want to run the SGP4 propagator for the ISS (ID = 25544) I got from spacetrack.org in MATLAB. I don't know where to get the inputs of the function. Where do I get the inFile and outFile that is mentioned in the following function. % Purpose: % This program shows how a Matlab program can call the Astrodynamic Standard libraries to propagate % satellites to the requested time using SGP4 method. % % The program reads in user's input and output files. The program generates an % ephemeris of position and velocity for each satellite read in. In addition, the program % also generates other sets of orbital elements such as osculating Keplerian elements, % mean Keplerian elements, latitude/longitude/height/pos, and nodal period/apogee/perigee/pos. % Totally, the program prints results to five different output files. % % % Usage: Sgp4Prop(inFile, outFile) % inFile : File contains TLEs and 6P-Card (which controls start, stop times and step size) % outFile : Base name for five output files % Example too run this application: >>Sgp4Prop('./input/rel14.inp', 'test.out') function Sgp4Prop(inFile, outFile) fprintf('Program starts.\n'); tStart = tic; EPSI = 0.00050; % TIME TOLERANCE IN SEC. if(nargin ~= 2) fprintf('Error in number of parameters passed. Please see the usage.\n\n'); fprintf('Usage : Sgp4Prop(inFile, outFile)\n'); fprintf('inFile : File contains TLEs and 6P-Card (which controls start, stop times and step size)\n'); fprintf('outFile : Base name for five output files\n'); error('myApp:argChk', 'Wrong number of input arguments'); end
Principles of Heat Transfer (Activate Learning with these NEW titles from Engineering!)
8th Edition
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Kreith, Frank; Manglik, Raj M.
Chapter4: Numerical Analysis Of Heat Conduction
Section: Chapter Questions
Problem 4.6P
Related questions
Question
I want to run the SGP4 propagator for the ISS (ID = 25544) I got from spacetrack.org in MATLAB. I don't know where to get the inputs of the function. Where do I get the inFile and outFile that is mentioned in the following function.
% Purpose:
% This program shows how a Matlab program can call the Astrodynamic Standard libraries to propagate
% satellites to the requested time using SGP4 method.
%
% The program reads in user's input and output files. The program generates an
% ephemeris of position and velocity for each satellite read in. In addition, the program
% also generates other sets of orbital elements such as osculating Keplerian elements,
% mean Keplerian elements, latitude/longitude/height/pos, and nodal period/apogee/perigee/pos.
% Totally, the program prints results to five different output files.
%
%
% Usage: Sgp4Prop(inFile, outFile)
% inFile : File contains TLEs and 6P-Card (which controls start, stop times and step size)
% outFile : Base name for five output files
% Example too run this application: >>Sgp4Prop('./input/rel14.inp', 'test.out')
function Sgp4Prop(inFile, outFile)
fprintf('Program starts.\n');
tStart = tic;
EPSI = 0.00050; % TIME TOLERANCE IN SEC.
if(nargin ~= 2)
fprintf('Error in number of parameters passed. Please see the usage.\n\n');
fprintf('Usage : Sgp4Prop(inFile, outFile)\n');
fprintf('inFile : File contains TLEs and 6P-Card (which controls start, stop times and step size)\n');
fprintf('outFile : Base name for five output files\n');
error('myApp:argChk', 'Wrong number of input arguments');
end
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you

Principles of Heat Transfer (Activate Learning wi…
Mechanical Engineering
ISBN:
9781305387102
Author:
Kreith, Frank; Manglik, Raj M.
Publisher:
Cengage Learning

Refrigeration and Air Conditioning Technology (Mi…
Mechanical Engineering
ISBN:
9781305578296
Author:
John Tomczyk, Eugene Silberstein, Bill Whitman, Bill Johnson
Publisher:
Cengage Learning

International Edition---engineering Mechanics: St…
Mechanical Engineering
ISBN:
9781305501607
Author:
Andrew Pytel And Jaan Kiusalaas
Publisher:
CENGAGE L

Principles of Heat Transfer (Activate Learning wi…
Mechanical Engineering
ISBN:
9781305387102
Author:
Kreith, Frank; Manglik, Raj M.
Publisher:
Cengage Learning

Refrigeration and Air Conditioning Technology (Mi…
Mechanical Engineering
ISBN:
9781305578296
Author:
John Tomczyk, Eugene Silberstein, Bill Whitman, Bill Johnson
Publisher:
Cengage Learning

International Edition---engineering Mechanics: St…
Mechanical Engineering
ISBN:
9781305501607
Author:
Andrew Pytel And Jaan Kiusalaas
Publisher:
CENGAGE L

Automotive Technology: A Systems Approach (MindTa…
Mechanical Engineering
ISBN:
9781133612315
Author:
Jack Erjavec, Rob Thompson
Publisher:
Cengage Learning

Precision Machining Technology (MindTap Course Li…
Mechanical Engineering
ISBN:
9781285444543
Author:
Peter J. Hoffman, Eric S. Hopewell, Brian Janes
Publisher:
Cengage Learning

Understanding Motor Controls
Mechanical Engineering
ISBN:
9781337798686
Author:
Stephen L. Herman
Publisher:
Delmar Cengage Learning