PDA

View Full Version : Making curves going through given points


VishwasG
Sep21-11, 01:29 AM
Hi!
I am having points set say P = { [x1,y1] , [x2,y2],[x3,y3],......,[xn,yn]}

Now, i wanna fit curves going through these points. Is it possible.
I googled and went through something called beziers.. is that helpful here ? Or is there any direct mathematical approach to achieve.

Thanks in advance for answers

:)

Eynstone
Sep22-11, 05:34 AM
Assume that x1,x2,.. are all distinct ( if not, we could re-position the axes). We can always find a polynomial curve of degree n passing through the points using Lagrange interpolation.