Create random points in a rectangular domain, but with minimum separation distance
古いコメントを表示
Hello,
I am not a regular user of this program. Hence this query.
I am interested to create random points in a 2D rectangular space, to start with, a uniform distribution. I know how to do this. However, I want to ensure that each of these points are separated by a certain minimum distance.
Can anyone help me with the script please.
Thank you.
Suresh
採用された回答
その他の回答 (2 件)
SS
2014 年 11 月 1 日
0 投票
1 件のコメント
Image Analyst
2014 年 11 月 1 日
I suggest you post this in a brand new question. But try the ellipsoid function first using the "try and keep/reject" concept. If you can't get it working, post your code in a new question since it's a different topic than this one.
SS
2014 年 11 月 1 日
0 投票
2 件のコメント
Image Analyst
2014 年 11 月 1 日
編集済み: Image Analyst
2014 年 11 月 1 日
Yeah but I see you didn't take my advice, so expect a lot of questions like "Do the axes of the ellipsoids have to align with the xyz axes?", "What have you tried?", "Have you seen the ellipsoid function?", "Is this a homework problem?", and so on.
SS
2014 年 11 月 2 日
カテゴリ
ヘルプ センター および File Exchange で Image Arithmetic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



