Data Sampling and Interpolation

Using a simple cosine wave as an example, this Demonstration shows how the number of data points and the interpolation order affect the resulting interpolating function. The blue line represents the plot of the interpolating function, the red line represents the numerical difference between the interpolating function values and the true values of the sinusoid, and the black points are the points used in the interpolation. The sampling rate corresponds to the number of sample points per oscillation.

comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+