modifying results of knnclassify

2 views (last 30 days)
divya r
divya r on 19 Jul 2012
knnclassify is used to match the test element with the most resembling training element.
How can i get an array as the result which will show the elements in the form : most resembling to least resembling?

Answers (1)

Ilya
Ilya on 19 Jul 2012
doc knnsearch

Community Treasure Hunt

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

Start Hunting!