how can I find distance between one base station and all the users separately?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
memoona bibi
el 18 de En. de 2023
Respondida: Rik
el 18 de En. de 2023
for example if i have the base station at origion , and all the users are placed randomly distributed according to poisson distribution in two dimentional space ,then how can i find the distance of each user to base station .
0 comentarios
Respuesta aceptada
Rik
el 18 de En. de 2023
You can use the hypot function to calculate the Pythagorean distance. Check the documentation to see if it allows array inputs. If not, you only need sqrt, an addition, and two element-wise squares.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Hypothesis Tests en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!