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?

 Respuesta aceptada

B
B el 22 de Nov. de 2011

0 votos

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

Más respuestas (1)

Image Analyst
Image Analyst el 22 de Nov. de 2011

0 votos

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

Preguntada:

B
B
el 22 de Nov. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by