I have a matrix of zeros, but would like a circle of ones in that matrix. Preferably I would like the circle to fill half the area of the matrix, but this is not a necessity.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
1 Comment
Andrei Bobrov (view profile)
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/346426-if-i-start-with-a-matrix-of-zeros-how-can-i-easily-create-a-circle-of-ones-in-that-matrix#comment_464731
Sign in to comment.