필터 지우기
필터 지우기

Curve fitting with a custom equation

조회 수: 1 (최근 30일)
Antonio
Antonio 2012년 11월 1일
Hi! I have a set of points and I'd like to make a curvefitting using this custom equation:
y=(exp(a*x))*(1/((((20000/(1-0.5^2)).^b)).*0.7));
How can I do this with the built-in toolbox Curve fitting (even without it!)?
Thanking you for your attention, I'm looking forward for your answers.

답변 (1개)

Matt J
Matt J 2012년 11월 1일
If you have neglgible noise in your data, you can take the log of both sides and convert your model into a linear one
logy=a*x+b*log(constants)
Then you can just use a linear solver (backslash, linsolve, etc...)

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by