フィルターのクリア

How to generate random coordinates considering safety distance.

1 回表示 (過去 30 日間)
Shin
Shin 2023 年 2 月 2 日
回答済み: Image Analyst 2023 年 2 月 2 日
Hi there, I wanted to generate multiple random coordinates with a safety distance, which means I don't want those coordinates to be too close to each other. For example the safety distance = 2, which means the minimun distance between the coordinates only can be 2, how can I do that? Thanks.
- Shin -
  1 件のコメント
Torsten
Torsten 2023 年 2 月 2 日
編集済み: Torsten 2023 年 2 月 2 日
"random": following which distribution over which space ? "coordinates": dimension of the space ?

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2023 年 2 月 2 日
See attached demo. Adapt as needed.

カテゴリ

Help Center および File ExchangeSplines についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by