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!