You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
maeycwz5l 74d362b795
Update README.md
3 years ago
README.md Update README.md 3 years ago

README.md

hih3

k=2; p=[-1:.05:1]; t=sin(kpip); n=5; net=newff(minmax(p),[n,1],{'tansig','purelin'},'trainlm'); y1=sim(net,p); figure(1); plot(p,t,'-',p,y1,'--') xlabel('t/s'); ylabel('为训练的网络输出'); net.trainParam.epochs=100; net.trainParam.goal=0.01; y2=sim(net,p); figure(2); plot(p,t,'-',p,y1,'--',p,y2,'--') xlabel('t/s'); ylabel('为训练的网络输出');