How can I use cart2pol?

3 Ansichten (letzte 30 Tage)
Pamela
Pamela am 31 Okt. 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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Nov. 2012
mod(theta, 2*pi)
See also the unwrap() function.
  3 Kommentare
Walter Roberson
Walter Roberson am 1 Nov. 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 am 2 Nov. 2012
thanks

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Dates and Time finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by