필터 지우기
필터 지우기

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 CenterFile Exchange에서 Splines에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by