Retrieving coordinates from rectangle function

1 次查看(过去 30 天)
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.

类别

Help CenterFile Exchange 中查找有关 Vector Fields 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by