If I start with a matrix of zeros, how can I easily create an ellipse of ones in that matrix?

1 visualización (últimos 30 días)
I have a matrix of zeros and would like to create and ellipse of ones within that matrix. I have done it before with triangles and circles but am unsure about how to go ahead with the ellipse.

Respuesta aceptada

Image Analyst
Image Analyst el 30 de Jun. de 2017

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by