I'm trying to fit a curve employing a multivariable function (5 variables and 5 parameters), which is a kinetic model. I could write the matrixes but the parameters are negative, and I need positive values. How can I write contraints for those parameters?
Here you'll find the file.
Multidfit is not part of a solve block but a stand alone function. This means that you cannot provide any constraints.
You may try a solve block with "minerr" to do the job.
As you can see the fit is not as good as the one without the constraints and Mathcad holds the last two vector elements of Gu hard at their limits (0 and 10).
MC15 worksheet attached