필터 지우기
필터 지우기

Fitting with constrained coefficients

조회 수: 1 (최근 30일)
Pinco
Pinco 2012년 8월 18일
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

답변 (1개)

José-Luis
José-Luis 2012년 8월 18일
You might want to have a look at: fminsearchbnd, that you can find in the file exchange :
Cheers!

카테고리

Help CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by