Make the feature vectors into column vectors, and put all of them together in a 2D array, so size 256 by 1000.
Create a vector of length 1000 which has 1 for each member of the first class and 2 for each member of the second class.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!