Documentation Center

  • Trials
  • Product Updates

sm2rad

Convert distance from statute miles to radians

Syntax

rad = sm2rad(sm)
rad = sm2rad(sm,radius)
rad = sm2rad(sm,sphere)

Description

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

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

rad = sm2rad(sm,sphere) converts distances from statute miles to radians, 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?