Hi! i'm getting this error when I try to call inpaint_nans function on my nxm matrix
inpaint_nans(ingdata)
" Error using unique (line 29) First parameter must be a square matrix
Error in inpaint_nans>identify_neighbors (line 550) neighbors_list=unique(neighbors_list,'rows');
Error in inpaint_nans (line 155) neighbors_list=identify_neighbors(n,m,nan_list,talks_to); "
any idea as to why? I should add that often times when I run things i get the error "Error using unique (line 29)" even when I don't use the 'unique' function in my script or function file.
Thanks!
Best Answer