Subtracting angles in a unit circle
2 ビュー (過去 30 日間)
古いコメントを表示
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?
採用された回答
Walter Roberson
2013 年 2 月 15 日
If you do not mind 360 being mapped to 0, then mod(angle, 360)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で 3-D Scene Control についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!