How can I use cart2pol?

3 ビュー (過去 30 日間)
Pamela
Pamela 2012 年 10 月 31 日
Hello
cart2pol returns angles between -pi and pi, what I can do to have angles between 0 and 2*pi (0 and 360). thanks

採用された回答

Walter Roberson
Walter Roberson 2012 年 11 月 1 日
mod(theta, 2*pi)
See also the unwrap() function.
  3 件のコメント
Walter Roberson
Walter Roberson 2012 年 11 月 1 日
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 2012 年 11 月 2 日
thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by