Hamming NetWork; plotting neuron vs iteration

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

Respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2018a

Preguntada:

el 20 de Sept. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by