How to code the orbital distance of a satellite?

26 visualizaciones (últimos 30 días)
Destiny Write
Destiny Write el 5 de Oct. de 2021
Comentada: Bob el 14 de Feb. de 2023
The goal is to compute the orbital distance of geostationary satellite from the Earth's Center. The Matlab plot needs the Geostationary orbital distance as a function of the Earth's mass if the Earth's mass varied from 1.01 times to its real value to 10 times its real value. I believe the general expression for finding the distance is h = (Gm/w^2)^1/3 - R. However, I am unsure how to acutally code that. Any help would be appreciated!

Respuestas (1)

Image Analyst
Image Analyst el 6 de Oct. de 2021
Did you try assigning numbers and plugging them in to your equation?
numSamples = 1000
actualMaxx = 5.97e24; % kg
m = linspace(1.01 * actualMass, 10 * actualMass, numSamples);
G = 9.8;
R = 6.371e6;
w = whatever...
h = (G * m / w^2) .^ (1/3) - R
plot(m, h, 'b-', 'LineWidth', 2);
grid on;
xlabel('m');
ylabel('h');
Not sure which letter is the mass of the earth or the mass of the satellite, so adapt as needed.
  1 comentario
Bob
Bob el 14 de Feb. de 2023
"The goal is to compute the orbital distance of geostationary satellite from the Earth's Center..."
Note that you plot the distance from the Earth's surface :( or the height of the orbit)…

Iniciar sesión para comentar.

Categorías

Más información sobre CubeSat and Satellites en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by