Filter löschen
Filter löschen

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 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 25 Okt. 2013
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});

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by