Documentation

nm2rad

Convert distance from nautical miles to radians

Syntax

rad = nm2rad(nm)
rad = nm2rad(nm,radius)
rad = nm2rad(nm,sphere)

Description

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

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

rad = nm2rad(nm,sphere) converts distances from nautical miles to radians, 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.

Was this topic helpful?