Subtracting angles in a unit circle
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 15 Feb. 2013
If you do not mind 360 being mapped to 0, then mod(angle, 360)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interactions, Camera Views, and Lighting finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!