| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Mapping Toolbox |
| Contents | Index |
| Learn more about Mapping Toolbox |
km = rad2km(rad)
nm = rad2nm(rad)
sm
= rad2sm(rad)
km = rad2km(rad,radius)
nm = rad2nm(rad,radius)
sm
= rad2sm(rad,radius)
km = rad2km(rad,sphere)
nm = rad2nm(rad,sphere)
sm
= rad2sm(rad,sphere)
km = rad2km(rad) converts distances from radians to kilometers as measured along a great circle on a sphere with a radius of 6371 km, the mean radius of the Earth.
nm = rad2nm(rad) and sm = rad2sm(rad) work identically, except that the output units are nautical miles and statute miles, respectively.
km = rad2km(rad,radius) converts distances from radians to kilometers as measured along a great circle on a sphere having the specified radius. radius must be in units of kilometers.
For nm = rad2nm(rad,radius) and sm = rad2sm(rad,radius), make sure your input radius is in the appropriate units.
km = rad2km(rad,sphere) converts distances from degrees to kilometers, 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.
nm = rad2nm(rad,sphere) and sm = rad2sm(rad,sphere) work identically, except that the output units are nautical miles and statute miles, respectively.
How long is a trip around the equator in statute miles?
sm = rad2sm(2*pi) sm = 2.4874e+04
How about on Jupiter?
sm = rad2sm(2*pi,'jupiter') sm = 2.7283e+005
km2rad, degtorad, radtodeg, deg2km, km2deg, km2nm, km2sm, deg2nm, nm2rad, nm2km, nm2sm, deg2sm, sm2rad, sm2km, sm2nm
![]() | quiverm | radtodeg | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |