|
From: Robert D. <rob...@gm...> - 2015-01-04 00:23:11
|
> On Jan 1, 2015 10:22 PM, "Dr. M Kanagasabapathy" <rr...@gm...> wrote: >> p:matrix([x1, y1], [x2, y2], [x3, y3], [x4, y4], [x5, y5])$ >> lsquares_estimates (p, [x,y], y = a*x^4 + b*x^3+c*x^2+d*x+e, [a, b,c, d, >> e]), numer; If the goal is to find the parameters in terms of x1, y1, x2, y2, etc, bear in mind that is going to create enormous and probably incomprehensible expressions in the result. You can see this by seeing what results you get for d*x + e, c*x^2 + d*x + e, and b*x^3 + c*x^2 + d*x + e; when I tried the full 5 parameter version it didn't come back with a result in a reasonable amount of time so I just killed it. best, Robert Dodier |