Hi all,
I always used pdist to calculate euclidian distance between two points, but suddenly my m.file began to complain that "?? Error using ==> pdist Too many input arguments.". Well, how is possible for one routine that was working fine begin to complain after I tried "dist" in another routine ?
Anyway, I figure it out that maybe pdist is not the best choice for only two points distance. Is "dist" the correct function?
Thanks in advance.
Paulo.
Best Answer