Effacer les filtres
Effacer les filtres

Fitting with constrained coefficients

1 vue (au cours des 30 derniers jours)
Pinco
Pinco le 18 Août 2012
Hi everyone!
I created a fittype object, but I want to impose constrained coefficients and fixed value, for example:
L0 = 1;
up = 1;
ft1 = fittype(@(K,Cb,b,x) up*K^Cb*x + L0*(exp(x)-1).^b, 'independent','x');
where K>0, Cb>0. How can I impose this? Is the code right for fixed values (L0 e up)?
Thanks a lot in advance. Pinco

Réponses (1)

José-Luis
José-Luis le 18 Août 2012
You might want to have a look at: fminsearchbnd, that you can find in the file exchange :
Cheers!

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by