Given GPS coordinates, it is often useful to be able to plot the data on a Cartesian grid. The GPS2Cart.m function takes N latitude and longitude coordinates and returns N (x,y) coordinates in the first quadrant of a Cartesian grid (i.e. all x, y>=0).
WARNING: I have been using this for coordinates separated by a few km, and I believe the program does not work well for coordinates with larger separations (e.g. the scale of continents), due to the system being non-Euclidian.
Tom Ashbee (2022). GPS2Cart (https://www.mathworks.com/matlabcentral/fileexchange/51323-gps2cart), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: zoharby/plot_google_map
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!