Subtracting angles in a unit circle
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Walter Roberson
le 15 Fév 2013
If you do not mind 360 being mapped to 0, then mod(angle, 360)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactions, Camera Views, and Lighting dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!