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 件のコメント

Ameer Hamza
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 件)

カテゴリ

ヘルプ センター および File ExchangeJust 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