フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Regarding kd_ncloses​tpoints(tr​ee,point,n​,first_ite​r_flag)

1 回表示 (過去 30 日間)
Ampi
Ampi 2012 年 2 月 6 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Walter Roberson
Walter Roberson 2012 年 2 月 6 日
What error is given? What does
fieldnames(tree)
show at that point?

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by