How do I randomly generate multiple random shapes within a given area WITHOUT overlapping?
Ältere Kommentare anzeigen
Hi, I have generated a random shape. I need to loop it over to randomly distribute such shapes within a given area WITHOUT overlapping. Area could be n by n units where n being a large integer number compared to the size of an individual shape.
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 25 Nov. 2017
0 Stimmen
You can use my clouds program. It will generate gray scale images of clouds.

Of course you can then threshold the image and get a binary image with randomly-shaped, non-overlapping shapes.
1 Kommentar
Anuruddha Jayasuriya
am 27 Nov. 2017
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!