formatting trainning set for testing purpose in matlab?

2 views (last 30 days)
Hi
i have a feature vectors of a 9*1 , for each person i have 4 vectors as 4 trainning images , so i obtaind for99 images a matrix of 9*4*99, now i creat the test set which contain one image , so one feature vector of 9*1.
For testing I need to use eucildean distance between test vector and the means of all 99 classes ,mean of class k = mean of the 4 training vectors of person k.
i.e i need to make the trainnig set matrix of 9*99 how can i do this by matlab.???
thanks alot for all

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!