I basically need inside a for, add elements to an array or list (I do not know if it has the language) and then split the values by the number of interactions. Very simple, if it was in any other language, but since I have little or no knowledge in MATLAB, it is very complex.
So far I've done it this way:
maxInteracao = 10;
for index = 1 : maxInteracao
//stuff
erroClassifTeste = 100 * (classificacoesErradas/numTeste);
arrayErro := [] : append(erroClassifTeste);
end