Azzera filtri
Azzera filtri

How to calculate semiMajorAxis and trueAnomaly from TLE file

16 visualizzazioni (ultimi 30 giorni)
Raghav Rathi
Raghav Rathi il 25 Lug 2024 alle 18:39
Commentato: Raghav Rathi il 26 Lug 2024 alle 15:18
Hi,
I am trying to add satelltie to satellite scenario by following the documentaion.
The general way is to simply use the TLE file
sat1 = satellite(sc,tleFile,"Name","Sat1")
If I want to find the Keplerian elements the function orbitalElements(sat1) can give eccentricity, inclination, rightAscensionOfAscendingNode and argumentOfPeriapsis. But how does MATLAB computes semiMajorAxis and trueAnomaly?
Any help is appreicated.
Thank you

Risposte (1)

Sam Chak
Sam Chak il 25 Lug 2024 alle 20:51
Modificato: Sam Chak il 25 Lug 2024 alle 20:57
Use the tleread() command.
Otherwise, you can also manually extract the info as detailed here:
After that, apply the equations that you learned in Orbital Mechanics to determine the Semi-major axis.
  1 Commento
Raghav Rathi
Raghav Rathi il 26 Lug 2024 alle 15:18
Thanks for your reply, but tleread() is pretty much the same as orbitalElements() in terms of output.
When you create a satelliteScenario() using a TLE file, it also generates the orbit of the satellite.
For instance below is an example created using TLE file.
Since it can create the orbit of the satellite, I was wondering if there was a way to get the information about the semi major axis through a matlab function, as most of the information that is needed for the calculation is present.

Accedi per commentare.

Categorie

Scopri di più su Satellite and Orbital Mechanics in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by