MATLAB: Retrieving coordinates from rectangle function

coordinatesellipserectangle 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?

Best Answer

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