Is the "distance" function for calculating the distance between two latitude and longitude points on Earth unavailable on version R2012a?

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

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.

Sign in to comment.

Answers (1)

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

Asked:

on 16 Jul 2014

Answered:

on 21 Jul 2014

Community Treasure Hunt

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

Start Hunting!