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.

wrapTo2Pi

Wrap angle in radians to [0 2*pi]

Syntax

lambdaWrapped = wrapTo2Pi(lambda)

Description

lambdaWrapped = wrapTo2Pi(lambda) wraps angles in lambda, in radians, to the interval [0 2*pi], such that 0 maps to 0 and 2*pi maps to 2*pi. (In general, positive multiples of 2*pi map to 2*pi and negative multiples of 2*pi map to 0.)

Introduced in R2007b

Was this topic helpful?