MATLAB Answers

0

Using wrapTo2Pi without toolbox

Asked by hrushikesh kyathari on 12 Jun 2019
Latest activity Answered by Star Strider
on 12 Jun 2019
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 Comments

Except at the boundary conditions, perhaps atan2() of the sin and cos (experiment to get the right order of arguments)

Sign in to comment.

Tags

Products


Release

R2019a

1 Answer

Answer by Star Strider
on 12 Jun 2019
 Accepted Answer

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 Comments

Sign in to comment.