why do i got "Undefined function or variable 'ba1'"?

5 Ansichten (letzte 30 Tage)
Kirei Manik
Kirei Manik am 19 Mai 2020
Kommentiert: Ameer Hamza am 19 Mai 2020
net=newff (minmax (P),[8,1],{'tansig','purelin'},'trainlm');
net.IW {1,1} =ba1;
net.b {1} =ba2;
net.LW {2,1} =ba3;
net.b {2} =ba4;
y1=sim (net,P);
  1 Kommentar
Ameer Hamza
Ameer Hamza am 19 Mai 2020
The error message clearly states the reason. How is the variable ba1 defined in your code? Have you assigned it a value?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Just for fun 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