I want to chcek the SGP4 orbit Propogator. But MY CODING IS NOT WORKING. Can someone check and help me with the coding. I want to use orbital elements not the tle file.
3 次查看(过去 30 天)
显示 更早的评论
Here is my code;
% Orbital elements of starlink
a = 6925000; % Semi-major axis in km
e = 0.0001406; % Eccentricity
i = 53.0538; % Inclination in degrees
RAAN = 66.9644; % Right Ascension of Ascending Node in degrees
arg_perigee = 87.41; % Argument of Perigee in degrees
M = 272.6995; % Mean Anomaly in degrees
epoch = 23285; % Epoch time in days
[positions,velocities]= orbitPropagate(datetime(2020,2,2,12,0,2),a,e,i,RAAN, ...
arg_perigee,M,epoch);
2 个评论
Sam Chak
2024-2-25
Hey @Toshi, I wanted to inquire about the coding issue we discussed earlier. It's a fascinating problem, especially for satellite enthusiasts like us. I'm genuinely curious to know if any recent developments or breakthroughs have occurred that might have led to its resolution.
回答(1 个)
Aiswarya
2024-2-12
Hi Toshi,
The issue with your code as mentioned in the error message is because you are using an incorrect function name. The built-in function to do the same is 'propagateOrbit'. This gives you option to use orbital elements or tle file as well. You can modify your function call as follows:
[positions,velocities]= propagateOrbit(datetime(2020,2,2,12,0,2),a,e,i,RAAN,arg_perigee,M);
You may refer to the following documentation for more information on the 'propagateOrbit' function:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Reference Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!