Polar to cartesian conversion problem
Afficher commentaires plus anciens
Hey,
I need to convert two vectors in polar coordinates (rho,phi) to cartesian coordinates, but something goes wrong because if I convert it back (from cartesian to polar) I don't get the same results (
).
).phi=linspace(0,2*pi,N);
rho=linspace(0,R_a,N);
[x,y] = pol2cart(phi,ro);
[theta2,rho2] = cart2pol(x,y);
Thanks in advance.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Axes Transformations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!