Convert spherical distance from statute miles to degrees
Convert Statute Miles to Degrees on Earth
Convert 500 statute miles to degrees, as measured along a great circle on the Earth. By default, the
sm2deg function assumes your input is a measurement of the Earth, which is represented as a sphere with a radius of 3958.748 statute miles.
deg = sm2deg(500)
deg = 7.2366
Convert Statute Miles to Degrees on Mars
Convert 500 statute miles to degrees, as measured along a great circle on Mars.
deg = sm2deg(500,'mars')
deg = 13.6001
sm — Distance in statute miles
Distance in statute miles, specified as a numeric array.
deg — Distance in degrees
Distance in degrees, returned as a numeric array.
Introduced in R2007a