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
채택된 답변
추가 답변 (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!