How do I randomly generate multiple random shapes within a given area WITHOUT overlapping?
이전 댓글 표시
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.
채택된 답변
추가 답변 (1개)
Image Analyst
2017년 11월 25일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!