Hi,

I want your help to solve my SVM problem for classification in MATLAB. I have completed my work until feature extraction and after feature extraction, I have created 486x2600 size of the matrix where 2600 is the number of training samples and 486x1 is an array of each image/character. I am trying to recognize English alphabet. So my class is 26.

I am using this command to train SVM: svmtrain(trainingset,tar)

But I am getting an error "Y must be a vector or a character array."

Thank you

Similar questions and discussions