Given orbit parameters and Universal Coordinated Time (UTC) the program calculates vector of magnetic field over number of points on the satellite orbit. This program was used as demonstration for the CubeSat program at the University of Zagreb.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Program requires Aerospace Toolbox to be already installed.
- Clone this repository,
- Open
main.m
file and there you have orbit parameters to tweak.
To get some data out of the system one should:
- Modify the orbit parameters and UTC time at the top of the
main.m
file:
RAAN = 38; % Right Ascension of Ascendent Node [deg]
w = 35; % Argument of perigee [deg]
v0 = 54; % True anomaly at the departure [deg]
i = 51.64; % inclination [deg]
a = 6700; % Major semi-axis (>6378) [km]
e = 0.001; % Eccentricity
start_time = datetime('now'); % UTC time of sattelite starting point
norb = 5; % number of orbits
time_step = 60; % Calculate point every time_step [s],
% decrease for faster calculation
- Press Run button.
This project is licensed under the MIT License - see the LICENSE file for details