Polar to cartesian conversion problem
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Axes Transformations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!