I am loading trying to store each iteration in a separate column in: percent(j,:)=[percent_correct].
There should be a total of 11 columns with 50 rows. However, only the last 50 values are stored.
sid = 'data_x'; for ii = 1:11 load([sid,num2str(ii),'.mat'])for j = 1:50 num_words= numel(q.data.sent{j}) num_correct=data(j,4) percent_correct=num_correct/num_words percent(j,:)=[percent_correct] endend
Best Answer