I want to change the distance function in vl_kdtreequery , Here it by default uses the euclidean distance , I want to use cosine or any other distance function . So should I change the vl_kdtreebuild function or any other easier way to achieve this ?

2 views (last 30 days)
I want to change the distance function in vl_kdtreequery , Here it by default uses the euclidean distance , I want to use cosine or any other distance function . So should I change the vl_kdtreebuild function or any other easier way to achieve this ?

Answers (0)

Categories

Find more on Resizing and Reshaping Matrices 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!