[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 29 Sep 2006 09:41:39 +0800
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
Petr Šimon <=