Is the "distance" function for calculating the distance between two latitude and longitude points on Earth unavailable on version R2012a?
Show older comments
Is the "distance" function for calculating the distance between two latitude and longitude points on Earth unavailable on version R2012a?
Is there a way to access this function in my version of Matlab?
Thanks.
1 Comment
Geoff Hayes
on 16 Jul 2014
According to distance, this function is part of the Mapping Toolbox. Have you installed this toolbox?
In the Command Window, type ver to see if you have this toolbox installed. If you do, type help distance to see if you have the distance function.
Answers (1)
Chad Greene
on 21 Jul 2014
0 votes
If you do not have the Mapping Toolbox, there are some equivalent functions available on the File Exchange site that do not require the Mapping Toolbox.
Categories
Find more on Earth and Planetary Science in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!