let C be a Matrix containing the data from matrix A and B
PROGRAM:... for i=1:3, C = [A(:,i),B(:,i)]; xlswrite(C,header,colnames,'C.xls'); end... How would i fix xls write such that... it will have 3 Excel file saved... i.e. C1.xls, C2.xls, C3.xls as i get the data in my "for loop" because the syntax right now is overwriting C.xls everytime. and I end up with one excel file
Best Answer