Hi there, Currently I am trying to come up with can easier code to allow me to put Tresult into evenly spaced columns and then another code which put a label to the left for each of these columns. Ive got wat I need slighlty below but I am wondering if there is a way to make this alot simpler? Cheer
if true % code
endfor j=1:10 for l=1:10 Tresult(:,j)=mean(Cr).';endfilename1='hProfile';Sheet=1;endxlswrite(filename1,Tresult(:,1),Sheet,'C1');xlswrite(filename1,Tresult(:,2),Sheet,'E1');xlswrite(filename1,Tresult(:,3),Sheet,'G1');xlswrite(filename1,Tresult(:,4),Sheet,'I1');xlswrite(filename1,Tresult(:,4),Sheet,'K1');xlswrite(filename1,Tresult(:,6),Sheet,'M1');xlswrite(filename1,Tresult(:,7),Sheet,'O1');xlswrite(filename1,Tresult(:,8),Sheet,'Q1');xlswrite(filename1,Tresult(:,9),Sheet,'S1');xlswrite(filename1,Tresult(:,10),Sheet,'U1');
Best Answer