سؤال

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?

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top