I am using QGIS 2.13 and a layer with hundreds of points. I need to calculate the distance to the nearest point... in the same layer. I tried the distance matrix but I get 0m since the "closest" point is the origin point.
The idea is calculate the average distance, std deviation, etc. and create a graph/histogram with these data to see how the distribution looks like.
Does anybody know how to calculate the distance to the nearest point in the same layer avoiding the origin point?