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

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

The error message clearly states the reason. How is the variable ba1 defined in your code? Have you assigned it a value?

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Just for fun에 대해 자세히 알아보기

질문:

2020년 5월 19일

댓글:

2020년 5월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by