A velocity is estimated as the slope of a straight line fitted by least squares to…
PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics
Error, Chance and the Machine, Ch Approximating a function: interpolation and differentiation
Problem
A velocity is estimated as the slope of a straight line fitted by least squares to m readings spaced τ apart and centred on the time of interest. Each reading has independent noise of standard deviation σ, and the underlying curve has a constant third derivative f′′′. The slope has a noise term σ/[τm(m2−1)/12] and a truncation term (3m2−7)τ2∣f′′′∣/120, which add in quadrature in the mean-square error. Let W=mτ be the window width.
((a)) For m≫1 write both terms in terms of W, σ, τ and ∣f′′′∣, keeping only the leading power of W in each.
((b)) Show that the window width that minimises the rms error satisfies W7=14400σ2τ/f′′′2.
((c)) Take σ=1mm and ∣f′′′∣=1ms−3. Find the best W and the rms error of the velocity at 100Hz and at 1kHz, and say how the best error scales with the sampling interval τ. Compare with the 6.0mms−1 of the best single difference.