How to move an object on the map between 2 points?
2 views (last 30 days)
I have a problem of tracking the movement of an object. How can i see the navigation of an object between 2 geographical position on a map? let's say between Lat1 34.811N, Long1 139.281E - Lat2 34.791N, Long2 139.258E. thanks in advance for the answers and kind help.
Chandrika on 26 Jun 2022
As per my understanding, you want to track trajectory between two positions on a geographical map. In MATLAB, we can do this using the 'geoplot' function. Here is the reference code:
geoplot([lat1 lat2],[long1 long2],'r-')
For better understanding, please follow the attached documentation on 'geoplot' https://in.mathworks.com/help/matlab/ref/geoplot.html