![]() Volume 9, Issue 4 Articles Tricks of the Trade In and Out Trott's Corner New Products New Publications Calendar News Bulletins New Resources Classifieds Download This Issue Editorial Policy Staff and Contributors Submissions Subscriptions Advertising Back Issues Contact Information |
Tricks of the Trade
Interpolation with NoiseVittorio G. Caffa In "Interpolation," TMJ, 9(2), 2004, pp. 306-310, a method was presented for computing derivatives of a sampled function. This method only works if the data is unaffected by measuring error. If models of the data source and the measurement noise are available, you can use (for example) Kalman filtering techniques for computing an optimal estimation (see mathworld.wolfram.com/KalmanFilter.html). Alternatively, you can achieve good results using a simple filtering technique. Consider again the exact function
Take
Now sample
Superimpose the sampled data over a plot of its interpolated function to visualize the
A simple filtering technique involves computing a truncated Fourier series of the function
Requiring the wavelength Here is the Fourier basis set for arbitrary
The best truncated Fourier expansion,
Here is the sampled data superimposed over a plot of
Compare the first derivatives; the red curve denotes the exact value
|
||||||||
About Mathematica | Download Mathematica Player © 2005 Wolfram Media, Inc. All rights reserved. |