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 CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by