draw_ellipse

by Sahli Samir, Sept.4th 2009,Generalization of ellipseMatrix with RGB and border conditions
1.3K Downloads
Updated 8 Oct 2009

View License

Set the elements of the Matrix Image which are in the interior of the ellipse E with the value 'color'. The ellipse E has center (y0, x0), the major axe = a, the minor axe = b, and teta is the angle macked by the major axe with the horizontal axe.
ellipseMatrix(y0, x0, a, b, theta, Image, color)
Color : gray or [R,G,B]
theta : degree

Cite As

Samir Sahli (2026). draw_ellipse (https://www.mathworks.com/matlabcentral/fileexchange/25320-draw_ellipse), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.1.0.0

I had a screenshot, a color image that illustrates results obtain with the function draw_ellipse.m

1.0.0.0