The above file knnclasifier.m is a scaled down program running on a set of 1000 test data and 6000 train data.
Whereas, the image file shows the result for the entire test range of 10,000 test data using 60,000 data.
Since this takes a few hours to run( and a better performance !) i have included only the scaled version of program.