Borrar filtros
Borrar filtros

How to generate random coordinates considering safety distance.

1 visualización (últimos 30 días)
Shin
Shin el 2 de Feb. de 2023
Respondida: Image Analyst el 2 de Feb. de 2023
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 comentario
Torsten
Torsten el 2 de Feb. de 2023
Editada: Torsten el 2 de Feb. de 2023
"random": following which distribution over which space ? "coordinates": dimension of the space ?

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 2 de Feb. de 2023
See attached demo. Adapt as needed.

Categorías

Más información sobre Splines en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by