Hamming NetWork; plotting neuron vs iteration
Show older comments
Hi, good mornign
I m tryng to plot every time a cell gives back a result. However this cell is represented in a row of the matrix a2, the solution of "a2 = poslin(W2*a);" Adding that each result has to be ploted v the iteration.
Here is the code:
.
.
.
%Data needed for the function poslin
a2 = 0 ;
iteracion = 0;
figure;
hold on;
while 1
a2 = poslin(W2*a);
iteracion = iteracion + 1;
fprintf('Num. de iteración %d de la capa recurrente \n', iteracion);
disp(a2);
if a ~= a2
a = a2;
else
iteracion = iteracion +1;
fprintf('Num. de iteración %d de la capa recurrente \n', iteracion);
disp(a2);
break;
end
end
Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!