polar to cartesian conversion
Mostrar comentarios más antiguos
I have an image displayed which is 742*400 matrix. i need to convert this image into cartesian. for which i need to know the x and y values to be applied in the following formula r= sqrt( (x-x0)^2+(y-y0)^2). now how do i know the x and y values from the matrix?
Respuestas (1)
Chad Greene
el 6 de Ag. de 2014
0 votos
The x and y values may very well be the dimensions of the matrix, so from 1 to 742 in one direction and 1 to 400 in the other direction. You could make zero the center by subtracting 742/2 in one dimension and 400/2 in the other dimension.
Also, it's hard to know with the information you've given, but this might help: http://www.mathworks.com/matlabcentral/fileexchange/47238-impolar-m
1 comentario
thirumagal jayaraman
el 6 de Ag. de 2014
Editada: thirumagal jayaraman
el 6 de Ag. de 2014
Categorías
Más información sobre Polar Plots 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!