>>>>> "Pepe" == Pepe Sanchez <jose.sanchez at uv.es> writes:
Pepe> HI!
Pepe> --Troubles in a least-squares fit on a matrix of data ?M2 ((two columns: points of a 2d curve)
Pepe> --The same procedure runs without troubles for a number of similar data sets.
Pepe> --But... for a particular ?M2 ?, similar to the others, I get the following error
Pepe> (%i ? ?) ?pol2: 1+a1*x+a2*x^2+a3*x^3+a4*x^4; ? ?MSfun: -De*(pol2)*exp(-a1*x);
Pepe> (%i? ? ) ?lsquares_estimates(M2, [x,y], y=MSfun , [De,a1,a2,a3,a4], initial=[1, 1, 1, 1, 1]
Pepe> ,tol=1e-8);
Can you also provide M2 so we can reproduce this?
Ray