Retrieving coordinates from rectangle function

조회 수: 1 (최근 30일)
B
B 2011년 11월 22일
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일
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일
There is also an imellipse() function if you have the Image Processing Toolbox.

Community Treasure Hunt

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

Start Hunting!

Translated by