MatLab curvefit with dynamic constraints
-
06-11-2019 - |
سؤال
I want to fit a curve using the lsqcurvefit function. It is something like this problem:
y = a1 * x + a2 * z
s.t
a1 > 0
a2 > 0
a1 + a2 <= some number
Is it possible to have such dynamic constraints in matlab or should i use some other package?
لا يوجد حل صحيح
لا تنتمي إلى StackOverflow