Filter löschen
Filter löschen

Problem with differential equation net

1 Ansicht (letzte 30 Tage)
Melda Harlova
Melda Harlova am 6 Jan. 2020
Kommentiert: Adam Danz am 6 Jan. 2020
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 Kommentare
KSSV
KSSV am 6 Jan. 2020
Melda Harlova commented: I have already mentioned it. In this line net=newff(minmax(x),[2,1],{'logsig','purelin'}). I have no idea why.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by