how to convert a kd-tree to a r-tree for using in knnsearch?
KDTreeMdl = KDTreeSearcher(X,'Distance','minkowski','P',5)
[IdxMk,DMk] = knnsearch(KDTreeMdl,newpoint,'k',10);
how to convert a kd-tree to a r-tree for using in knnsearch?
KDTreeMdl = KDTreeSearcher(X,'Distance','minkowski','P',5)
[IdxMk,DMk] = knnsearch(KDTreeMdl,newpoint,'k',10);