How can I use cart2pol?

3 visualizaciones (últimos 30 días)
Pamela
Pamela el 31 de Oct. de 2012
Hello
cart2pol returns angles between -pi and pi, what I can do to have angles between 0 and 2*pi (0 and 360). thanks

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Nov. de 2012
mod(theta, 2*pi)
See also the unwrap() function.
  3 comentarios
Walter Roberson
Walter Roberson el 1 de Nov. de 2012
The mod() is to be applied to the angle in radians, which is what you had asked about. Convert to degrees after you do the mod()
Pamela
Pamela el 2 de Nov. de 2012
thanks

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Dates and Time en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by