wrapTo2Pi - Wrap angle in radians to [0 2*pi]

Syntax

lambdaWrapped = wrapTo2Pi(lambda)

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 zero.)

See Also

wrapTo180, wrapTo360, wrapToPi

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS