Polar to cartesian conversion problem
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Axes Transformations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!