Help CenterHelp Center
Convert kilometers to nautical miles
nm = km2nm(km)
example
nm = km2nm(km) converts distances from kilometers to nautical miles.
nm
km
collapse all
Convert 500 kilometers to nautical miles.
nm = km2nm(500)
nm = 269.9784
Distance in kilometers, specified as a numeric array.
Distance in nautical miles, returned as a numeric array of the same size as km.
Introduced in R2007a
nm2km
deg2km
km2deg
deg2nm
nm2deg
Sie haben eine geänderte Version dieses Beispiels. Möchten Sie dieses Beispiel mit Ihren Änderungen öffnen?
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office