Plot k-D tree using the k-nearest neighbour algorithm

9 views (last 30 days)
I want to make a plot which will contain some nodes according to a given dataset having X-axis and Y-axis. The plot will build a k-D tree using the k-nearest neighbor algorithm and will show the direction line of subsequent nearest points from a specific given coordinate point suppose (50,50). How can I do that?
My Dataset contains node number, X-Axis, Y-Axis, Distance and its a .csv file.

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!