clear all;clc a=rand(1,1000); b=rand(1,1000); c=rand(1,1000); y=a*2+b*3+c*5 I=[a; b; c;] T=y net = newff([0 1;0 1 ;0 1],[10 1]); net=train(net,I,T); J1=sim(net,I); Op=sim(net,[1 1 1]');
As i am testing system with inputs [1 1 1] then the output must be neat to 10, but it gives 1. what is wrong with this code?
Best Answer