Convert spherical distance from radians to statute miles
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+05
rad— Distance in radians
Distance in radians, specified as a numeric array.
sm— Distance in statute miles
Distance in statute miles, returned as a numeric array.