Main Content

epsm

Accuracy in angle units for certain map computations

epsm will be removed in a future release. If necessary, you can replace the expressions listed in the following table with the constants shown:

epsm()1.0E-6
epsm('deg')1.0E-6
epsm('rad')deg2rad(1.0E-6)

Syntax

epsm
epsm(units)

Description

epsm is the limit of map angular precision. It is useful in avoiding trigonometric singularities, among other things.

epsm(units) returns the same angle in units corresponding to any valid angle units character vector. The default is 'degrees'.

Examples

The value of epsm is 10–6 degrees. To put this in perspective, in terms of an angular arc length, the distance is

epsmkm = deg2km(epsm)

epsmkm =
   1.1119e-04      % kilometers

This is about 11 centimeters, a very small distance on a global scale.

See Also

Introduced before R2006a