transform a radius into a circle
Show older comments

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 Comment
Accepted Answer
More Answers (2)
Star Strider
on 26 Dec 2014
0 votes
Image Analyst
on 26 Dec 2014
0 votes
Maybe the FAQ???
5 Comments
Nicolas
on 27 Dec 2014
Image Analyst
on 27 Dec 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
on 28 Dec 2014
Image Analyst
on 28 Dec 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
on 28 Dec 2014
Categories
Find more on Polar Plots 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!