Retrieving coordinates from rectangle function

1 vue (au cours des 30 derniers jours)
B
B le 22 Nov 2011
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?

Réponse acceptée

B
B le 22 Nov 2011
Solved the problem by defining the ellipse as a sine and cosine function, instead of the rectangle function.

Plus de réponses (1)

Image Analyst
Image Analyst le 22 Nov 2011
There is also an imellipse() function if you have the Image Processing Toolbox.

Catégories

En savoir plus sur Vector Fields dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by