matlab - Custom Curve-Fitting equation doesn' t works -
i trying fit custom equation cumsu=a+b*(1586-x).^m estimate parameters a,b,m.
data: cumsu=[...];%the reason don't give vector cumsu large number of values included. x=[1:1586];
i thankful if can helps me. thank in advance!
you can create custom fitting models via fit
function.
fitobject = fit(x,y,fittype,fitoptions)
in case should replace fittype
fitting equation:
customfit=fit(x,cumsu,'a+b*(1568-x)^m')
with random numbers output was:
general model: f(x) = a+b*(1568-x)^m coefficients (with 95% confidence bounds): = -2.011 (-2.959e+06, 2.959e+06) b = 1.479 (-2.424e+06, 2.424e+06) m = 0.1049 (-9.702e+04, 9.702e+04)
Comments
Post a Comment