[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Smoothing/Spline and momentum

From   Dan Weitzenfeld <>
Subject   st: Smoothing/Spline and momentum
Date   Tue, 3 Feb 2009 15:01:10 -0800

Hi Folks,

I have data consisting of X,Y coordinates of a moving object, sampled
at an unfortunately low sampling rate.  I'm therefore trying to
approximate location in the intervals between sampling points using
some combination of interpolation and smoothing or splining.
I have tried a bunch of methods (see below), but I'm having difficulty
meeting my two goals:
1) the interpolated trajectory should always go through the sampled
points (they are sampled without error, so I feel like I should hit
2) the interpolated trajectory should look like a moving object with momentum
     a.  the trajectory should be somewhat smooth, what I would call
"sports car smooth"
     b.  velocity when entering a curve is taken into account  - a
faster entry means a later, deeper apex

So far, I have tried:

I am wondering if anyone has any tips or package recommendations for
solving this fun problem.
*   For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index