Hi guys,
I am trying to find K nearest neighbors from a normalized matrix based on 'cosine' distance. I know that there is a command namely 'knnsearch' which calculate the distance and finding the k nearest neighbors at the same time in MATLAB 2012, but I have 2009a version. does anyone know if it is possible to use knnsearch in MATLAB 2009b?
Regards, Aram
Best Answer