On Thu, Aug 20, 2009 at 10:52 AM, Kip Murray<[email protected]> wrote:
> Thank you, Ambrus, I will study your verbs.  Of course I would like the lowest
> degree that fits the data.  I'm assuming data that has an exact polynomial 
> fit.
>>    se0=: 1 4  7 10  13  16  19  22  25  28
>>    se1=: 0 4 20 54 112 200 324 490 704 972
>>    ]p0 =: (%.[:^/~...@#) se0
>> 1 3 7.97184e_8 _7.964e_8 4.15017e_8 _1.25439e_8 2.27913e_9
>> _2.45331e_10 1.44069e_11 _3.55401e_13

   (%.[:^/~...@#) x: se0
1 3 0 0 0 0 0 0 0 0

>>    p0 p. i. 10
>> 1 4 7 10 13 16 19 22 25 28
>>    ]p1 =: (%.[:^/~...@#) se1
>> _7.96167e_11 2.1526e_7 3 1 _2.66006e_7 7.83796e_8 _1.39068e_8
>> 1.46474e_9 _8.43371e_11 2.04392e_12

   (%.[:^/~...@#) x: se1
0 0 3 1 0 0 0 0 0 0

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to