Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to know how I can interpolate a sequence (time) of points in order to obtain curves as some kind of mathematical functions.

Unfortunately math is not my area so I don't really know the name of what I'm looking for... so I mock-up a couple of pictures :)

Example of sequential points:

The information related to those points are:

  • coordinates $(x, y)$
  • creation time

example sequential points

What I can imagine as result might look like this:

A sequence of functions/point/vectors generated by matching the points

example final result

I would like to know if there is/are mathematical functions to perform this kind of operation. I guess, I'm looking for approximate interpolation, and to eventually compute a value that express the interpolation accuracy.

share|cite|improve this question
So, you have (t,x,y) values? Spline interpolation would probably suit your needs, unless you already have slope values handy (as you seem to indicate in the second image)... – J. M. May 12 '11 at 14:55
well, what i need to do is be able to represent the path as a collection/sequence of functions. – Cesar May 12 '11 at 15:08
You can certainly construct a parametric spline from your data. I assumed that each point of your curve had a corresponding "time" value in addition to coordinates; is that correct? – J. M. May 12 '11 at 15:34
Well, the images are actually generated in reversed order, with photoshop :) – Cesar May 12 '11 at 22:27
Follow the links here. – Emre May 13 '11 at 3:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.