Why do I receive an error when I pass a lambda value for the 'levenberg-marquardt' algorithm using OPTIMOPTIONS, in MATLAB 8.1 (R2013a) ?
1 回表示 (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2013 年 10 月 25 日
回答済み: MathWorks Support Team
2013 年 10 月 25 日
When I am executing the following command according to the documentation :
lsqoptions = optimoptions(@lsqnonlin,'Algorithm',{'levenberg-marquardt',.005});
I receive the following error :
Error using optimoptions (line 114)
Too many outputs requested. Most likely cause is missing [] around left hand side that has a comma separated list expansion.
採用された回答
MathWorks Support Team
2013 年 10 月 25 日
This is a bug in MATLAB 8.1 (R2013a) in the way optimoptions takes the inputs.
As a workaround you can use OPTIMSET :
lsqoptions = optimset('Algorithm',{'levenberg-marquardt',.005});
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!