Convert polar to cartisian coordinate

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Function Creation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by