Documentation Center

  • Trial Software
  • Product Updates

nm2deg

Convert distance from nautical miles to degrees

Syntax

deg = nm2deg(nm)
deg = nm2deg(nm,radius)
deg = nm2deg(nm,sphere)

Description

deg = nm2deg(nm) converts distances from nautical miles to degrees, as measured along a great circle on a sphere with a radius of 6371 km, the mean radius of the Earth.

deg = nm2deg(nm,radius) converts distances from nautical miles to degrees, as measured along a great circle on a sphere having the specified radius. radius must be in units of nautical miles.

deg = nm2deg(nm,sphere) converts distances from nautical miles to degrees, as measured along a great circle on a sphere approximating an object in the Solar System. sphere may be one of the following strings: 'sun', 'moon', 'mercury', 'venus', 'earth', 'mars', 'jupiter', 'saturn', 'uranus', 'neptune', or 'pluto', and is case-insensitive.

See Also

| | | | | | | | | | | | |

Was this topic helpful?