How to calculate semiMajorAxis and trueAnomaly from TLE file

16 次查看(过去 30 天)
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

回答(1 个)

Sam Chak
Sam Chak 2024-7-25,20:51
编辑:Sam Chak 2024-7-25,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 个评论
Raghav Rathi
Raghav Rathi about 21 hours 前
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Satellite and Orbital Mechanics 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by