cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Constraints using multidfit

FP_9765026
3-Newcomer

Constraints using multidfit

 Hi everyone! 

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.

Thanks!

2 REPLIES 2
Werner_E
25-Diamond I
(To:FP_9765026)

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.

Werner_E_0-1609792331595.png

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

 

Thank you very much! I can try employing different initial values. 

Best regards!

Announcements

Top Tags