fittype with integration limits containing independent variable

Hello,
I am trying to do a custom fit of an equation of the form
a(x/b)*integral(f(t),0,b/x)
so that in Matlab it looks like (simplified):
ft=fittype('a*(x/b)^5*quad(f(t),0,b./x)',...
'independent',{'x'},'coef',{'a','b'});
The goal being to find a and b such that the fit is in closest agreement with the data I have.
However, x is a vector, so quad won't take it as a limit.
Is there a workaround to this?
Thanks,
Grant

댓글 수: 2

Have you solved this problem?
I'm now fitting a curve defined by an integral as well, but error keeps coming out. T_T
me too. Have no idea how to use integration inside fittype.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

질문:

2013년 5월 24일

댓글:

2020년 5월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by