Hi,(adsbygoogle = window.adsbygoogle || []).push({});

I'm trying to interpolate a data set of classical trajectories, but I'm having trouble because the data is basically a multivalued function. The data maps out a periodic function: for every x value, there are about 7 y values.

Does anyone have any advice as to how to approach this? Most of the interpolation routines I'm trying to implement require that x1< x2< xn.. which isn't the case since it's periodic.

Also, I can think of a few tricks to get around it for the simplest case, which basically looks sinusoidal but flipped vertically.. but some of the other data sets are much more complicated (though still periodic).

Any direction would be greatly appreciated. Thanks!

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Complicated Interpolation (Multivalued)

**Physics Forums | Science Articles, Homework Help, Discussion**