nm = rad2nm(rad)
converts distances from radians to nautical miles, as measured along a great circle
on a sphere with a radius of 3440.065 nm, the mean radius of the Earth.
nm = rad2nm(rad,sphere)
converts distances from radians to nautical miles, as measured along a great circle
on a sphere approximating an object in the Solar System.
Find the circumference of the Earth in nautical miles. By default, the rad2nm function assumes your input is a measurement of the Earth, which is represented as a sphere with a radius of 3440.065 nautical miles.
nm = rad2nm(2*pi)
nm =
2.1615e+04
Convert Radians to Nautical Miles on Sphere with Specified Radius
Sphere approximating an object in the Solar System, specified as one of the following
values: 'sun', 'moon',
'mercury', 'venus',
'earth', 'mars', 'jupiter',
'saturn', 'uranus',
'neptune', or 'pluto'. The value of
sphere is 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.