Products & Services Solutions Academia Support User Community Company

Learn more about Mapping Toolbox   

wrapToPi - Wrap angle in radians to [-pi pi]

Syntax

lambdaWrapped = wrapToPi(lambda)

Description

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

See Also

wrapTo180, wrapTo360, wrapTo2Pi

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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