km = rad2km(rad)
converts distances from radians to kilometers, as measured along a great circle on a
sphere with a radius of 6371 km, the mean radius of the Earth.
km = rad2km(rad,radius)
converts distances from radians to kilometers, as measured along a great circle on a
sphere having the specified radius.
km = rad2km(rad,sphere)
converts distances from radians to kilometers, as measured along a great circle on a
sphere approximating an object in the Solar System.
Find the circumference of the Earth in kilometers. By default, the rad2km function assumes your input is a measurement of the Earth, which is represented as sphere with a radius of 6371 kilometers.
Distance in radians, specified as a numeric array.
Data Types: single | double
Radius of sphere in units of kilometers, specified as a numeric scalar.
Sphere approximating an object in the Solar System, specified as one of the following
values: 'sun', 'moon',
'mercury', 'venus',
'earth', 'mars', 'jupiter',
'saturn', 'uranus',
'neptune', or 'pluto'. The value of
sphere is case-insensitive.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.