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

Risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Prodotti

Release

R2018a

Richiesto:

il 20 Set 2019

Community Treasure Hunt

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

Start Hunting!

Translated by