Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

wrapTo360

Wrap angle in degrees to [0 360]

Syntax

lonWrapped = wrapTo360(lon)

Description

lonWrapped = wrapTo360(lon) wraps angles in lon, in degrees, to the interval [0 360] such that 0 maps to 0 and 360 maps to 360. (In general, positive multiples of 360 map to 360 and negative multiples of 360 map to zero.)

Introduced in R2007b

Was this topic helpful?