transform a radius into a circle
Mostrar comentarios más antiguos

I have some data along a line in a Cartesian coordinate. I know I can transform the Cartesian into polar coordinates using cart2pol. I would like to know how could I create a grid to map a quarter circle with the data along the initial line (to have a top view)?
thank you
1 comentario
Respuesta aceptada
Más respuestas (2)
Star Strider
el 26 de Dic. de 2014
0 votos
Image Analyst
el 26 de Dic. de 2014
0 votos
Maybe the FAQ???
5 comentarios
Nicolas
el 27 de Dic. de 2014
Image Analyst
el 27 de Dic. de 2014
So you have the coordinates of the arc (quarter circle). OK, fine. But I don't know what it means to "apply the data" to it? Do you mean like you want an image where the pixel gray levels along the arc are those specified in your "data"? Let's say you have 500 (x,y) points covering the arc, and 500 data points with some value that represents something (which I don't know what it is). Now what? Please clarify.
Nicolas
el 28 de Dic. de 2014
Image Analyst
el 28 de Dic. de 2014
What do you want out? An image (2D array)? A plot/graph?
All I can think of was a not very efficient method based on the FAQ. I hesitate to show it because it's not fast, efficient, or clever. Hopefully someone else will come up with a fast and clever method.
Nicolas
el 28 de Dic. 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!