필터 지우기
필터 지우기

Two exponential curve fitting

조회 수: 10 (최근 30일)
Nancy
Nancy 2011년 12월 17일
답변: Ada Verónica Elizabeth 2024년 2월 20일
Hi all,
I want to fit my data to a particular type of equation and get the values of the constant. The function is of the following form
F= A*exp(-B*x)-C*exp(-D*x)
I wish to find the values of A, B, C and D. How do I go about doing this in Matlab.
Thanks for the help.
Nancy

답변 (2개)

Andrew Newell
Andrew Newell 2011년 12월 17일
You'll find this problem described on this support page.

Ada Verónica Elizabeth
Ada Verónica Elizabeth 2024년 2월 20일
Using the data x,F where x is the ordered set of independent values and F is the data corresponding to:
Model = fit(x,F,"exp2");
values = coeffvalues(Model);
values %contains coefficients a,b,c,d for F=a*exp(b*x)+c*exp(d*x)
a= values(1)
b= values(2)
d= values(3)
d= values(4)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by