Borrar filtros
Borrar filtros

How to calculate semiMajorAxis and trueAnomaly from TLE file

16 visualizaciones (últimos 30 días)
Raghav Rathi
Raghav Rathi el 25 de Jul. de 2024 a las 18:39
Comentada: Raghav Rathi hace alrededor de 21 horas
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

Respuestas (1)

Sam Chak
Sam Chak el 25 de Jul. de 2024 a las 20:51
Editada: Sam Chak el 25 de Jul. de 2024 a las 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 comentario
Raghav Rathi
Raghav Rathi hace alrededor de 21 horas
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Satellite and Orbital Mechanics en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by