Question: Can someone please help me to animate this plot created using the mapping toolbox in Matlab? Lat=[20.565613 20.565613 20.565613 20.565613 20.565617 20.565615 20.565615 20.565613 20.565613
Can someone please help me to animate this plot created using the mapping toolbox in Matlab?
Lat=[20.565613 20.565613 20.565613 20.565613 20.565617 20.565615 20.565615 20.565613 20.565613 20.565613 20.565613 20.565611 20.565611 20.565611 20.565611 20.565611 20.565605 20.565605 20.565603 20.565603 20.565601 20.565601 20.565592 20.565592 20.565588 20.565588 20.56559 20.565592 20.565592 20.565588 20.565582 20.565582 20.565578 20.565575 20.565575 20.565577 20.565577 20.565577 20.565577 20.565575 20.565575 20.565573 20.565573 20.565573 20.565575 20.565575 20.565577 20.565577 20.565578 20.565578 20.565582 20.565582 20.565582 20.565582 20.56559 20.56559 20.565598 20.565598 20.565605 20.565613 20.565613 20.565624 20.565624 20.565636 20.565636 20.565647 20.565647 20.565657 20.565664 20.565664 20.565668 20.565668 20.56567 20.56567 20.565672 20.565672 20.565666 20.565666 20.565666 20.565678 20.565678 20.565689 20.565689 20.565693 20.565693 20.565702 20.56571 20.56571 20.565716 20.565716 20.565729 20.565729 20.565737 20.565758 20.565758 20.565781 20.565781 20.565792 20.565809 20.565809 20.565838 20.565845 20.565845 20.565851 20.565851 20.565863 20.565863 20.56587 20.56587 20.565884 20.565897 20.565897 20.565926 20.565926 20.565964 20.565964 20.565996 20.565996 20.566017 20.566017 20.566017 20.566015 20.566015 20.566011 20.566011 20.566004 20.566004 20.566004 20.566004 20.566 20.566 20.565996 20.565994 20.565994 20.565998 20.565994 20.565994 20.565994 20.565994 20.565994 20.565994 20.565994 20.565994 20.565992 20.565994 20.565994 20.565992]; Lon=[-100.814812 -100.814812 -100.814804 -100.814804 -100.814865 -100.814903 -100.814903 -100.814934 -100.814934 -100.814957 -100.814957 -100.81498 -100.81498 -100.814987 -100.814995 -100.814995 -100.814995 -100.814995 -100.815002 -100.815002 -100.81501 -100.81501 -100.815018 -100.815018 -100.815033 -100.815033 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815033 -100.815033 -100.815033 -100.815033 -100.815033 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815025 -100.815018 -100.815018 -100.815018 -100.815018 -100.81501 -100.81501 -100.81501 -100.81501 -100.815002 -100.814987 -100.814987 -100.814972 -100.814972 -100.814957 -100.814957 -100.814949 -100.814949 -100.814934 -100.814919 -100.814919 -100.814903 -100.814903 -100.814896 -100.814896 -100.814888 -100.814888 -100.81488 -100.814873 -100.814873 -100.814865 -100.814865 -100.814857 -100.814857 -100.81485 -100.81485 -100.814835 -100.814827 -100.814827 -100.814819 -100.814819 -100.814812 -100.81481 -100.814796 -100.814781 -100.814781 -100.814766 -100.814766 -100.814743 -100.814743 -100.814743 -100.814758 -100.814766 -100.814766 -100.814766 -100.814766 -100.814774 -100.814774 -100.814774 -100.814774 -100.814751 -100.81472 -100.81472 -100.814697 -100.814697 -100.814674 -100.814674 -100.814674 -100.814674 -100.814682 -100.814682 -100.814682 -100.814682 -100.814682 -100.81469 -100.81469 -100.81469 -100.81469 -100.81469 -100.81469 -100.81469 -100.81469 -100.81469 -100.81469 -100.81469 -100.81469 -100.814697 -100.814697 -100.814697 -100.814697 -100.814697 -100.814697 -100.814697 -100.814697 -100.814697 -100.814697 -100.814697 -100.814697]; Alt=1760+[13.11 13.61 9.24 8.62 9.24 9.99 10.49 9.49 8.99 9.61 9.12 9.24 9.24 9.49 9.24 7.87 9.12 9.61 6.24 5.99 0 0.25 19.35 22.23 22.98 23.6 57.07 47.45 50.45 51.2 52.2 52.07 53.69 52.57 54.07 53.45 53.69 52.57 52.82 56.44 55.07 56.32 48.58 46.2 32.59 32.72 55.57 49.95 54.82 56.32 54.57 55.07 58.19 57.07 56.69 59.69 57.82 57.19 62.56 61.69 62.06 58.44 62.69 65.68 64.06 64.56 62.19 67.81 68.8 69.05 65.31 68.18 75.42 73.42 78.05 75.05 82.67 84.54 86.16 87.91 87.91 86.79 84.91 92.16 90.78 90.41 99.27 99.02 104.77 105.77 105.89 104.52 106.39 100.27 85.16 79.04 73.67 63.68 85.91 62.94 62.06 72.8 55.32 66.56 70.18 71.8 72.93 46.08 46.2 43.33 38.59 38.09 37.09 35.71 34.96 35.34 32.22 31.84 29.84 42.58 33.72 29.97 33.97 27.72 32.97 29.97 26.6 26.6 29.09 26.1 26.47 26.1 28.97 29.34 28.6 26.1 26.22 26.35 28.22 26.47 27.1 26.35 26.97 26.22 25.6 25.97 26.85];
start_lat = Lat(1); start_lon = Lon(1); liberation_lat=Lat(93); liberation_lon=Lon(93); land_lat=Lat(147); land_lon=Lon(147);
figpos = [1000 500 800 400]; uif = uifigure("Position",figpos); ug = uigridlayout(uif,[1,2]); p1 = uipanel(ug); p2 = uipanel(ug); gx = geoaxes(p1,"Basemap","satellite"); gg = geoglobe(p2); gx.InnerPosition = gx.OuterPosition; gg.Position = [0 0 1 1];
figure geoaxes("Basemap","satellite","ZoomLevel",19); hold("on") geoplot(start_lat,start_lon,"ow","MarkerSize",8,"MarkerFaceColor","blue", ... "DisplayName","Inicio de Misin"); geoplot(liberation_lat,liberation_lon,"ow","MarkerSize",5,"MarkerFaceColor","magenta", ... "DisplayName","Liberacin"); geoplot(land_lat,land_lon,"ow","MarkerSize",8,"MarkerFaceColor","black", ... "DisplayName","Aterrizaje"); geoplot(Lat,Lon,"c","LineWidth",2,"MarkerFaceColor","magenta", ... "DisplayName","Trayectoria de la Misin"); legend
geoplot3(gg,Lat,Lon,Alt,"c","LineWidth",2,"HeightReference","geoid") hold(gx,"on")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
