Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Curvefitting with a set of 8 sine and cosine terms
I want to do nonlinear fitting of my data coeffs I need to get : An and Bn where n = 1,2,3,4 so I will have these coeffs A1,A2,A3,A4 B1,B2,B3,B4 F(X) = ∑((Ancos(nπx/L)+Bnsin(nπx/L) ) , Where n = 1,2,3,4 I have looked at the Curvefit and MPfit by Craig. I never get it Thanks for you help