ticfor aug = 1:168888%168888
abc = 8; count = {}; V = (abc); X = [X;[count V]];endfor sep1 = 1:163440%163440
abc = 9; count = {}; V = (abc); X = [X;[count V]];endfor oct= 1:168888%163440 abc = 10; count = {}; V = (abc); X = [X;[count V]];endfor nov = 1:163440%163440 abc = 11; count = {}; V = (abc); X = [X;[count V]];endfor dec= 1:168888%163440 abc = 12; count = {}; V = (abc); X = [X;[count V]];end toc xlswrite('months2015.xlsx',X)
MATLAB: How to preallocate X
excelpreallocation
Best Answer