I am running
SVMStruct = svmtrain(xTrain, yTrain);
and the error I get is
Undefined function or method 'svmtrain' for input arguments of type 'double'
I am pretty sure xTrain and yTrain are matrices though:
size(xTrain)
ans =
544 28
size(yTrain)
ans =
544 1
Any idea what's going on here?