Question: how to do svm in matlab?
Answer: Generate the Points and Classifier. Generate the 10 base points for each class. ...  Prepare Data For Classification. Put the data into one matrix, and make a vector grp that labels the class of each point. Prepare Cross-Validation. ...  Optimize the Fit.