why do i got "Undefined function or variable 'ba1'"?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
Ameer Hamza
2020-5-19
The error message clearly states the reason. How is the variable ba1 defined in your code? Have you assigned it a value?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!