Retrieving coordinates from rectangle function

Dear all,
Using the rectangle function, I am generating an ellipse.
Is it possible to retrieve the corresponding x and y coordinates of this shape?

 채택된 답변

B
B 2011년 11월 22일

0 개 추천

Solved the problem by defining the ellipse as a sine and cosine function, instead of the rectangle function.

추가 답변 (1개)

Image Analyst
Image Analyst 2011년 11월 22일

0 개 추천

There is also an imellipse() function if you have the Image Processing Toolbox.

질문:

B
B
2011년 11월 22일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by