I've been trying to make a custom fit by using the following equation y = A+ B*cos(2x), but after defining the new function in the fitting function organizer nothing appears when I say that makes the fit. On the other hand, could you tell me how I define the initial values of my parameters?
I would like to fit a function with a user-defined equation. The formula I want to use is called hyperbolic secant. Here is the formula:
y = A*(2/exp(x-x0)+exp(-x+x0))^2
I did everything exactely as described in the fitting tutorial but when I try to fit my data nothing happens. I can fit e.g. a Gaussian on the data. So the data itself are ok.