How to split data by classes?
Show older comments
I have a matrix with dimensions of 95 * 8. The data has three classes of 1,0 and -1. I want to give each class the data in a matrix named preclass (i),'i' is class name, and this is done with a 'for' loop.
1 Comment
KALYAN ACHARJYA
on 7 Apr 2018
Question not Clear?
Accepted Answer
More Answers (0)
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!