In a random distribution of points in square area how can we determine the density information of points in each region
Mostrar comentarios más antiguos
I want to distribute random points in a square region and then determine the density information of the points array form such that a density function can be defined for the most important points and least important points. for example in a 2D square area of 100x100 divide into four quardrants.
Lets say uniform random distribution of 100 points gives me 25 points in each quardrant (assumption). based on the distance from each other the points will be dense in certain area of quardrant but less dense in other I wish to define a density function which will highlight the importance of some points on others.
I know it might seem like a dispersed idea but could anyone give any relevant commants and codes that could help?
Thank you for taking time in reading.
Respuesta aceptada
Más respuestas (1)
Bruno Luong
el 3 de Sept. de 2020
1 voto
Checkout histcounts2
1 comentario
Tamoor Shafique
el 3 de Sept. de 2020
Categorías
Más información sobre Univariate Discrete Distributions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!