Draw an array of rectangular boxes
2 views (last 30 days)
Show older comments
Hi,
I need to draw an array of rectangular/square boxes over an array of white spots in the attached figure: img_1 using Matlab code as shown in figure: img_2. I also need to have a control over the dimension of boxes. Like if I have more number of boxes, say 8x8, then I should be able to automatically change my box dimension to 8x8 with all the white spots lying within (centre) of the boxes.
I will be very grateful, if anyone helps me in this regard.
Thanking You!
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!