How do I set a custom algebraic upper/lower bound on lsqcurvefit, instead of a constant one?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How do I set a custom algebraic upper/lower limit on lsqcurvefit, instead of a constant one? On lsqcurvefit, I can only specify a constant value as upper/lower bound, but I want to set an algebraic expression, such as (y ~ b0*x1+b1*x2) where b0+b1<1
0 Kommentare
Antworten (1)
Alan Weiss
am 28 Mär. 2017
For that, you will have to use lsqlin (if it is applicable) or fmincon if it is not applicable. I cannot be sure, based on your description, whether lsqlin applies.
Alan Weiss
MATLAB mathematical toolbox documentation
Siehe auch
Kategorien
Mehr zu Mathematics and Optimization finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!