Borrar filtros
Borrar filtros

Using wrapTo2Pi without toolbox

9 visualizaciones (últimos 30 días)
hrushikesh kyathari
hrushikesh kyathari el 12 de Jun. de 2019
Respondida: Star Strider el 12 de Jun. de 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 comentarios
Walter Roberson
Walter Roberson el 12 de Jun. de 2019
Except at the boundary conditions, perhaps atan2() of the sin and cos (experiment to get the right order of arguments)
hrushikesh kyathari
hrushikesh kyathari el 12 de Jun. de 2019
Thanks a lot!

Iniciar sesión para comentar.

Respuesta aceptada

Star Strider
Star Strider el 12 de Jun. de 2019
I wrote a little utility function for my own use to do just that:
Angles2pi = @(a) rem(2*pi+a, 2*pi); % For ‘atan2’

Más respuestas (0)

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by