Find points are located at a radial distance of 20m from a point
Mostrar comentarios más antiguos
I have an ascii file, with two columns. The first has Latitude and the second has longtitude. Also I have one point (lets call it "MYPOINT") with spesific latitde and longtitude. I would like with the base of MYPOINT to find all the point in the radious/cirle distance of 20km (For example from the 100 points, the points that are located at a radial distance of 20m from the MYPOINT.
Which functions should I use?
Respuestas (1)
Cris LaPierre
el 1 de En. de 2021
0 votos
Generate the points that make up the circle around myPoint, then use the inpolygon function to identify the points that are within the circle.
3 comentarios
Ivan Mich
el 1 de En. de 2021
Ivan Mich
el 1 de En. de 2021
Cris LaPierre
el 1 de En. de 2021
I know nothing about your script, and inpolygon now nothing about units. Look at the examples in the linked page for inpolygon and adapt to work with your data.
Categorías
Más información sobre Coordinate Reference Systems 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!