Main Content

nm2km

Convert nautical miles to kilometers

Description

km = nm2km(nm) converts distances from nautical miles to kilometers.

example

Examples

collapse all

Convert 500 nautical miles to kilometers.

km = nm2km(500)
km = 
926

Input Arguments

collapse all

Distance in nautical miles, specified as a numeric array.

Output Arguments

collapse all

Distance in kilometers, returned as a numeric array of the same size as nm.

Version History

Introduced in R2007a

See Also

Functions