newff function does not appear in 2023b version
36 ビュー (過去 30 日間)
古いコメントを表示
Hello! I'm starting to learn MatLab in university and I have a problem. My teacher gave us a formula that starts with:
nn1 = newff(minmax(input),[3,1],{'tansig','purelin'},'trainlm');
Everytime that I run the code it says that newff doesn't function in this version anymore.
Can anyone help me to rewrite that line of code please, I really don't know anything about the program.
I have the 2023b student version.
0 件のコメント
採用された回答
Walter Roberson
2023 年 11 月 7 日
No, the last time newff was documented was R2010a. The teacher needs to rewrite the lab.
2 件のコメント
Steven Lord
2023 年 11 月 7 日
It still exists in Deep Learning Toolbox, but Walter is correct that it was last documented/used in release R2010a (back when that toolbox was named Neural Network Toolbox.)
which -all newff
dbtype 1:5 newff.m
If you receive an "undefined function" error, you likely don't have Deep Learning Toolbox installed. To check this, use the ver function. If it doesn't list Deep Learning Toolbox, neither newff nor the replacements Walter suggested will be available.
ver nnet
which -all fitnet
which -all feedforwardnet
But I second Walter's recommendation to recommend the professor update the lab exercise. There have been a lot of improvements to Deep Learning Toolbox in the 13+ years since that lab was written.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!