Documentation Center

  • Trial Software
  • Product Updates

sm2deg

Convert distance from statute miles to degrees

Syntax

deg = sm2deg(sm)
deg = sm2deg(sm,radius)
deg = sm2deg(sm,sphere)

Description

deg = sm2deg(sm) converts distances from statute miles to degrees as measured along a great circle on a sphere with a radius of 6371 km (3958.748 sm), the mean radius of the Earth.

deg = sm2deg(sm,radius) converts distances from statute miles to degrees as measured along a great circle on a sphere having the specified radius. radius must be in units of statute miles.

deg = sm2deg(sm,sphere) converts distances from statute miles to degrees, 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.

See Also

| | | | | | | | | | | |

Was this topic helpful?