Inequality constraints in least-squares fitting
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Linear and Nonlinear Regression in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!