why this error occurs: Subscripted assignment dimension mismatch. Error in kd_knn>node_check (line 180)

i am doing KD knn search while this following error occurs.
Subscripted assignment dimension mismatch.
Error in kd_knn>node_check (line 180) best_points_mat(number_of_points,dim+1)=tree_cell(node_number).index;
pls any one to help me that to solve this error

댓글 수: 1

W/ no more info than given all we can say is what the error tells you -- the RHS and LHS aren't commensurate in size with each other.
Use
dbstop if error
rerun and look at the various terms to see where the mismatch actually occurs which will probably lead you to the logic or data error that caused it.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기

질문:

2014년 6월 7일

댓글:

dpb
2014년 6월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by