Watch this Author's files
My mistake-works great
Thank you for the helpful code. I am getting this error message, any help is greatly appreciated as I am new to Matlab.
I used [pars covars SE gval exitflag]=lognfitc(mydatamatrix,2)
Undefined function 'hessian' for input arguments of type 'function_handle'.
Error in lognfitc (line 160)
hess = hessian(logL,pars);