필터 지우기
필터 지우기

Using wrapTo2Pi without toolbox

조회 수: 9 (최근 30일)
hrushikesh kyathari
hrushikesh kyathari 2019년 6월 12일
답변: Star Strider 2019년 6월 12일
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
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)
hrushikesh kyathari
hrushikesh kyathari 2019년 6월 12일
Thanks a lot!

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
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개)

태그

제품


릴리스

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by