Funcfit for user-defined function

Recently, I asked about funcfit for user-defined multivariate function.

Even though your sincere helps, I cannot figure out how to make an algoritm for FuncFit.


So I made a simple function to simulate it as attached.

However still it's not working with singular matrix error.


Try the attached experiment and advise me what is the problem.




(I make the wave to fit as easy as possible to practice and I want to make A0 and A1 as parameters to fit for Panel0)
Experiment_8.pxp