Convert polar to cartisian coordinate

3 visualizzazioni (ultimi 30 giorni)
aasim Azooz
aasim Azooz il 3 Feb 2024
Risposto: Walter Roberson il 1 Mar 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.

Risposte (1)

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

Categorie

Scopri di più su Function Creation in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by