|
From: Dr. M K. <rr...@gm...> - 2015-01-01 15:14:50
|
Dear Maxima members, I am a very newbie to Maxima. Actually I am shifting from mathematica. Really Maxima is rather intuitive. I have 'n' number of x, y data sets and i wish to fit in the form of (n-1) order polynomial equation. y = a*x^(n-1)+b*x^(n-2) ....and so on. I have tried these codes: load (lsquares) $ p:matrix([x, y set Data 1], [x, y set Data 2], [x, y set Data 3]...) lsquares_estimates ( p, [x,y], a*x^(n-1)+b*x^(n-2) ..., [a, b,c,...]); But it throws syntax error. Kindly give the exact code for the polynomial fit for numeric data. *Also please help me to get the code to load a set of numeric data from an Excel file into Maxima.* I am so grateful for any help for this. Thank you With kind regards Dr M Kanagasabapathy |