Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

constant change on a map

1 Ansicht (letzte 30 Tage)
Marta Stanska
Marta Stanska am 15 Nov. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have a code that show a satellite around an earth. What I must do to see its move? The position of satellite is changing with time, so think that I need to write a code that (when the script is running) will update my time. I have no idea what I have to do. For time I use simple t=now.
Thanks.
I attach part of a code:
worldmap world;
load coastlines;
plotm(coastlat, coastlon);
%to plot the map
.... parameters calculated from TLE date (all keplers parameters)
lla = ecef2lla([xk yk zk], 'WGS84');
geoshow(lla(1,1), lla(1,2), 'DisplayType', 'Point', 'Marker', '+', 'Color', 'red'); %show the satellite
  3 Kommentare
Marta Stanska
Marta Stanska am 15 Nov. 2020
Unfornunately I can't find anything. I will be grateful for any advise :)

Antworten (1)

Shadaab Siddiqie
Shadaab Siddiqie am 18 Nov. 2020
From my understanding you want to display a satellite move around a planet overtime here are some reference functions that might help you.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by