i tried with the below code but stil not work could anyone help me please:
[r,c]=size(outputs);
for i=1:r
for j=1:c
x=inputs(:,j);
Y1=w1*in+b1;
Y1=tansig(Y1);
Y11a=w2(1,:)*Y1+b2(1,:);
Y2a(1:j)=purelin(Y11a);
Y11b=w2(2,:)*Y1+b2(2,:);
Y2b(2:j)=purelin(Y11b);
end
end