Mapping Toolbox
  Go to function:
    Search    Help Desk 
sm2deg, sm2km, sm2nm, sm2rad    Examples   See Also

Convert distance from statute miles to other units

Syntax

Description

distout = sm2deg(distin) converts the input distance given in statute miles to degrees. distout = sm2km(distin), distout = sm2rad(distin), and distout = sm2nm(distin) perform analogously, converting to kilometers, radians, and nautical miles, respectively.

distout = sm2deg(distin,radius) and distout = sm2rad(distin,radius) specify the radius of the sphere to use, since a degree (or radian) of arc length covers less distance, for example, on Mars than it does on the Earth. You can enter the radius as a number in statute miles, as a call to the almanac function (e.g., almanac('mars','radius','sm')), or you can pass in a string planet name (e.g., 'mars'), and the function will make the appropriate call to the almanac function. The radius of the Earth is the default.

Examples

In track, is the quarter mile exactly the same as the 400-meter?

No, it's 2.3 meters longer.

See Also

distdim
Convert distances between different units
km2sm
nm2deg
Other direct distance conversion functions


[ Previous | Help Desk | Next ]