Inequality constraints in least-squares fitting

2 ビュー (過去 30 日間)
Xen
Xen 2020 年 12 月 11 日
I would like to perform least-squares fitting with inequality constraints that involve the parameters in both sides, in addition to box constraints (bounds). For example, for a 2 parameter (x1, x2) problem I would need to something like:
lb = [0, 0];
up = [100, 100];
x1 >= x2;
x1 <= x2*5;
I am typically using lsqnonlin but I understand this is not possible with this function. Is there another way to do this, and how can I set it up? Many thanks.

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by