deg = km2deg(km)
converts distances from kilometers to degrees, as measured along a great circle on a
sphere with a radius of 6371 km, the mean radius of the Earth.
deg = km2deg(km,radius)
converts distances from kilometers to degrees, as measured along a great circle on a
sphere having the specified radius.
deg = km2deg(km,sphere)
converts distances from kilometers to degrees, as measured along a great circle on a
sphere approximating an object in the Solar System.
Distance in kilometers, 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.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.