rad= nm2rad(nm)converts distances from nautical miles to radians, as measured along a great circle on a sphere with a radius of 3440.065 nm, 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.
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.
Convert 500 nautical miles to radians, as measured along a great circle on the Earth. By default, thenm2radfunction assumes your input is a measurement of the Earth, which is represented as a sphere with a radius of 3440.065 nautical miles.
rad = nm2rad(500)
rad = 0.1453
Convert Nautical Miles to Radians on Sphere with Specified Radius
Sphere approximating an object in the Solar System, specified as one of the following values:'sun','moon','mercury',“金星”,'earth','mars','jupiter','saturn','uranus','neptune', or'pluto'. The value ofsphereis case-insensitive.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.