transform a radius into a circle
古いコメントを表示

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 件のコメント
採用された回答
その他の回答 (2 件)
Star Strider
2014 年 12 月 26 日
0 投票
Image Analyst
2014 年 12 月 26 日
0 投票
Maybe the FAQ???
5 件のコメント
Nicolas
2014 年 12 月 27 日
Image Analyst
2014 年 12 月 27 日
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
2014 年 12 月 28 日
Image Analyst
2014 年 12 月 28 日
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
2014 年 12 月 28 日
カテゴリ
ヘルプ センター および File Exchange で Polar Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!