필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Error Using kd_nclosestpoint

조회 수: 1 (최근 30일)
Ampi
Ampi 2012년 2월 5일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello All,
Can anybody please help me? I am running the method function [index_vals,dist_vals,vector_vals] = kd_nclosestpoints(tree,point,n,first_iter_flag) in matlab.But the procedure is giving me an error in the line:- if(strcmp(tree.type,'leaf')) index_vals=tree.index; dist_vals=sqrt(sum((tree.centroid-point).^2)); vector_vals=tree.centroid; return; end The error is:- undefined symbol "centroid-point" and "centroid". Can anybody upload the correct routine or any help in this is appreciated. Thanks, Ampi

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by