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

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品

版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by