フィルターのクリア

about: lsqnonlin function:What exactly does it mean inconsistent input bounds?

1 回表示 (過去 30 日間)
helen flountzi
helen flountzi 2017 年 1 月 19 日
編集済み: helen flountzi 2017 年 1 月 23 日
Hello! Im refering to the "Note: If the specified input bounds for a problem are inconsistent, the output x is x0 and the outputs resnorm and residual are []", in the lsqnonlin function... The question is: what inconsistent means exactly?? Im asking because I keep getting the initial value of x0 when I run my code... Thanks

回答 (1 件)

John D'Errico
John D'Errico 2017 年 1 月 19 日
Gosh, suppose that you supplied
lb = 1;
ub = 0;
Do you think that would constitute an inconsistent set of bounds?
I can't know what you did wrong here. There are multiple reasons why you MIGHT get the same value as your input. You might have created a discontinuous function, by trying to use rounding internally, for example. That would cause the same problem, because your function would then be piecewise constant.
So you might be looking in entirely the wrong place. How could we possibly know? The mind reading toolbox never seems to work when I need it.

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by