Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Making curves going through given points

  1. Sep 21, 2011 #1
    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

  2. jcsd
  3. Sep 22, 2011 #2
    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook