%% Write error and Entropy arrays excel to do statistical analysis
% For error by subject initial
header = cell(1,16);
header(2:end) = SUBJECTS;
ErrorInitial = [header;[[CONS,VOWS]', num2cell(errorxsub_initial)]];
ErrorFinal = [header;[[CONS,VOWS]',num2cell(errorxsub_final)]];
EntropyInitial = [header;[[CONS,VOWS]', num2cell(entropyxsub_initial)]];
EntropyFinal = [header;[[CONS,VOWS]',num2cell(entropyxsub_final)]];
xlswrite('xls/PeH_data.xls',ErrorInitial,1)
xlswrite('xls/PeH_data.xls',ErrorFinal,2)
xlswrite('xls/PeH_data.xls',EntropyInitial,3)
xlswrite('xls/PeH_data.xls',EntropyFinal,4)