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

질문:

2019년 9월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by