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

1 view (last 30 days)
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.

Accepted Answer

Image Analyst
Image Analyst on 30 Jun 2017

More Answers (0)

Community Treasure Hunt

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

Start Hunting!