Convert polar to cartisian coordinate

3 vues (au cours des 30 derniers jours)
aasim Azooz
aasim Azooz le 3 Fév 2024
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.

Réponses (1)

Walter Roberson
Walter Roberson le 1 Mar 2024
pol2cart uses radians.
There is no Mathworks supplied Pol2Car function.

Catégories

En savoir plus sur Function Creation dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by