Linear constraints using lsqnonlin
Ältere Kommentare anzeigen
Hi, I'm solving a non-linear system of 3 equations in 3 unkowns:

I'm using lsqnonlin to solve it:
lambda = lsqnonlin(F,lambda0,lb,ub,options);
Moreover, I need to add some constraints to the variables:

How can pass this constraints to the solver?
Thanks in advance!
2 Kommentare
Walter Roberson
am 28 Sep. 2022
A system of 3 equations in 3 unknowns usually as a unique solution.
That is not generally the case for nonlinear systems. For example 3 curved surfaces might intersect at multiple locations and the constraints could narrow the result down to one particular quandrant.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Quadratic Programming and Cone Programming finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!