petr.simon at gmail.com
Thu Sep 28 20:41:39 CDT 2006
I am trying to fit function b*(x^a), but I don't know much about fitting
and I also have problems with derivatives.
I am using leasqrdemo.m, where I defined
p = [-1,10];
function y = leasqrfunc(x,p)
y = p(2)*(x^p(1))
but I don't know what the leasqrdfdp should look like.
function y = leasqrdfdp(x,f,p,dp,func)
y = [?,?]
Can anyone help? I know this is probably a trivial question, sorry for
trashing mailing list with it
Thanks a lot
More information about the Help-octave