Using wrapTo2Pi without toolbox
9 ビュー (過去 30 日間)
古いコメントを表示
Is there any other alternative from using wrapto2Pi function because I get an error saying I donot have a toolbox.I requested for a trial, got a reply, not sure what happened next.Kindly help as I need to submit my assignment soon.I mean are t
2 件のコメント
Walter Roberson
2019 年 6 月 12 日
Except at the boundary conditions, perhaps atan2() of the sin and cos (experiment to get the right order of arguments)
採用された回答
Star Strider
2019 年 6 月 12 日
I wrote a little utility function for my own use to do just that:
Angles2pi = @(a) rem(2*pi+a, 2*pi); % For ‘atan2’
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!