Complicated Interpolation (Multivalued)

  • Context: Graduate 
  • Thread starter Thread starter ZombieKitty
  • Start date Start date
  • Tags Tags
    Interpolation
Click For Summary
SUMMARY

The discussion focuses on the challenges of interpolating a multivalued function representing periodic data sets of classical trajectories, where each x value corresponds to approximately seven y values. The user is struggling with standard interpolation routines that require ordered x values, which is not applicable due to the periodic nature of the data. They are considering fitting the data to a polynomial to facilitate interpolation at specific x values, although they express uncertainty regarding the effectiveness of this approach for more complex data sets.

PREREQUISITES
  • Understanding of multivalued functions in mathematics
  • Familiarity with periodic functions and their properties
  • Knowledge of polynomial fitting techniques
  • Experience with interpolation methods and routines
NEXT STEPS
  • Research polynomial interpolation techniques for multivalued functions
  • Explore advanced interpolation methods suitable for periodic data
  • Learn about fitting periodic functions using Fourier series
  • Investigate software tools like SciPy for implementing custom interpolation routines
USEFUL FOR

Data scientists, mathematicians, and engineers working with periodic data sets who need to perform interpolation on multivalued functions.

ZombieKitty
Messages
6
Reaction score
0
Hi,

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 news on Phys.org
Can you switch y and x?
 
The problem with that is that I need to interpolate at very specific x values. If I were to switch x and y, I'd now be feeding my routine a particular y value and it'd be returning the corresponding x... but this is not necessarily at the x value I need. Does that make sense?

I'm now thinking that if I can fit the data to a particular polynomial.. I can easily find any values I need, granted that it's possible to find a well-fitting function. I'm confident this will work for some of the simpler data sets, but not so sure with the more complicated data.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K