Problem with differential equation net
1 次查看(过去 30 天)
显示 更早的评论
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
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 Center 和 File Exchange 中查找有关 Mathematics and Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!