The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Function File: earthRadius (unit)

Converts the Earth’s radius into other units.

Input argument units can be one of the units of validateLengthUnit. The default is meters.

earthRadius ('km')
=> ans = 6371

See also: validateLengthUnit,unitsratio.

Package: mapping