knn classification with .mat file

hi, i am facing a simple probem that is , how to pass the .mat file in to the knnclassify() as i got the three mat file of training and three for testing. the size of training .mat file is 10x5 and testing is 5x5. this means for train i used 10images with 5features and for testing 5 images with 5 features. if i say total is for training 50 features and for testing 25 features. now i want to classify and find identification result using knn and if possible svm also. pls help me in this regard. thanks in advance.

Answers (0)

Asked:

on 22 Mar 2016

Community Treasure Hunt

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

Start Hunting!