Watch this Author's files
An excellent utility, I am having little trouble in running the following.
I have two vectors of 360 elements each.
First vector is y which contains the pixel number from 1-360
the second vector is c, it contains the values for the y vector.
the aim is to fit a function similar to this
I am more interested in the a coefficient. However i am getting the following error.
??? Error using ==> ezfit at 549
Fit: error during the fminsearch procedure