Convert polar to cartisian coordinate

3 ビュー (過去 30 日間)
aasim Azooz
aasim Azooz 2024 年 2 月 3 日
回答済み: Walter Roberson 2024 年 3 月 1 日
1- To convert polar to cartisian coordinates, I use "Pol2Car(R,theta). Unlike any other matlab statment, I am surprised to note that the command works correctly only if the angle is in degrees rather than radians . It gives wrong answer if I use the angle in radians.
2 -The revers command Cart2Pol, output the angle in radians.
3- I checked the help and documintations of matlab 6.5, matlab 2010, and matlab 2015 for help on Pol2Car but couldn't find any.

回答 (1 件)

Walter Roberson
Walter Roberson 2024 年 3 月 1 日
pol2cart uses radians.
There is no Mathworks supplied Pol2Car function.

カテゴリ

Help Center および File ExchangeFunction Creation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by