Is it possible to convert between nautical miles and arc length in degrees using the UNITSRATIO function within the Mapping Toolbox 2.5 (R2007a) ?

3 views (last 30 days)
When I try to convert between nautical miles on the Earth's surface and arc length in degrees:
unitsratio('m','deg')
I receive the following result:
??? Error using ==> unitsratio at 152
Unable to convert to m from deg.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
The ability to convert between arc length in degrees and length units such as nautical miles is not available from within UNITSRATIO in the Mapping Toolbox 2.5 (R2007a).
To work around this issue, use the DEG2NM and NM2DEG functions within the Mapping Toolbox:
deg2nm(1)

More Answers (0)

Products


Release

R2007b

Community Treasure Hunt

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

Start Hunting!