transform a radius into a circle
Afficher commentaires plus anciens

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 commentaire
Réponse acceptée
Plus de réponses (2)
Star Strider
le 26 Déc 2014
0 votes
Image Analyst
le 26 Déc 2014
0 votes
Maybe the FAQ???
5 commentaires
Nicolas
le 27 Déc 2014
Image Analyst
le 27 Déc 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
le 28 Déc 2014
Image Analyst
le 28 Déc 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
le 28 Déc 2014
Catégories
En savoir plus sur Polar Plots 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!