Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Regarding kd_nclosestpoints(tree,point,n,first_iter_flag)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have run the code for
kd_nclosestpoints(tree,point,n,first_iter_flag)
but error is being given for the variable centroid in the following line:-
if(strcmp(tree.type,'leaf'))
index_vals=tree.index;
dist_vals=sqrt(sum((tree.centroid-point).^2));
vector_vals=tree.centroid;
return;
end
Please somebody upload the correct version or tell me where does the problem lie.
Thanks in advance.
1 Kommentar
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!