Lsqnonlin with options but without bounds

2 ビュー (過去 30 日間)
Cyril GADAL
Cyril GADAL 2018 年 2 月 9 日
回答済み: Cyril GADAL 2018 年 2 月 12 日
Hey,
I'm using lsqnonlin to solve a problem. I have to use it without bounds because it uses the Levenberg-Marquardt algorithm that does not handle bound constraints.
However, I would like to remove the displayed informations using :
options = optimset('Display','off') ;
I tried :
p = lsqnonlin(F,p0,'options')
but it returns an error, expecting bounds as third argument. I need to mention that I could put some arbitrary bounds in third argument, but it also returns me an error as the Levenberg-Marquardt algorithm that does not handle bound constraints.
How do I do that ?
Thanks a lot

採用された回答

Cyril GADAL
Cyril GADAL 2018 年 2 月 12 日
As I just realized after posting, that can be solved by replacing the wanted up and lb by
[]
In case someone needs it ..

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSystems of Nonlinear Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by