I am trying without success to fit several data sets with two different functions, i.e. some data with the first function, others with the second function. Does anyone know a solution for this problem?
This is how I would go about it using the NLSF fitter...
1. Function->Edit or New: combine the functions as follows
y = A * func1(x) + (1-A) * func2(x)
2. Action->Dataset: check Fit Multiple datasets at the bottom and Add each dataset to the fitting session.
3. Action->Fit: fix A to 0 or 1 for each dataset and otherwise make sure all parameters are sensibly initialized. Then click one of the iterate buttons.
...Besides fixing A to 0 or 1 you may also need to fix the parameters for the function that is not used to some reasonable values.