For example
A=num2str (find (pos==1))% pos is a vectorcontain feature number of pso and change in every iteration
For example A=12 14 5 7 %
For rep =1:3
Res(rep,:)= A;
End
Xlswrite ('s.xls',A);
I want to save the Res in excel file
First row contain selected features in A in rep 1
And so on
This code yields a matlab error
Dimension mismatch
Thank you