Subtracting angles in a unit circle
6 views (last 30 days)
Show older comments
I need to adjust my angles in a unit circle by 32 degrees in a dataset, but need to keep my range from -360 to 360 (2 rotations or 720 degrees). So instead of 360 to -360 it will now be 32 to 328, but still have two full rotations or 720 degrees.
Does this make sense? And if so, any clever tricks?
3 Comments
Accepted Answer
Walter Roberson
on 15 Feb 2013
If you do not mind 360 being mapped to 0, then mod(angle, 360)
0 Comments
More Answers (0)
See Also
Categories
Find more on Interactions, Camera Views, and Lighting in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!