Problem with differential equation net

조회 수: 3 (최근 30일)
Melda Harlova
Melda Harlova 2020년 1월 6일
댓글: Adam Danz 2020년 1월 6일
Hello,
I have a problem with using net in following code. Thank you in advance.
clear all
x=-1:0.1:3;
z=x;
net=newff(minmax(x),[2,1],{'logsig','purelin'})
net.trainparam.epochs=100;
net.trainparam.goal=0.0001;
net=train(net,x,z);
y=sim(net,x);
plot(x,z,'r',x,y);grid figure(gcf)
  댓글 수: 3
KSSV
KSSV 2020년 1월 6일
Melda Harlova commented: I have already mentioned it. In this line net=newff(minmax(x),[2,1],{'logsig','purelin'}). I have no idea why.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by