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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 30 Jun. 2017

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by