Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


Naresh
Posts:
7
Registered:
12/7/04


Re: Fitting 3D data over time
Posted:
Oct 16, 2004 7:03 PM


Peter: I really dint catch you on that. I have a set of x,y,z coord with vary w.r.t time how do I build a trajectory around them
wph Naresh Peter Spellucci wrote: > > > > In article <eeecda3.1@webx.raydaftYaTP>, > "Christoffer Johansson" <coffe69@hotmail.com> writes: > >Hi, > > > > I have a sets of positional data for points moving in 3D space > over > >time. I'm quite new with Matlab, and wonder if there is a way to > do a > >curvefit/spline to this kind of data? > > > >Thanks! > > > >Christoffer > > so what you really have is a set of measurements > (t(i),x(i),y(i),z(i)) > and want to fit a space curve (t,X(t),Y(t),Z(t)) through this. > yes this is possible. for example you could use three splines for > each of the > coordinates. the problem is that if you use a smoothing spline with > an adaptive > number and adaptive position of nodes, then the resulting splines > will have no > common grid. > but you can of course interpolate for a given time t on each of > these three > splines and obtain an estimate of the position there. the smoothing > spline > with variable number of nodes is in the spline toolbox. > hth > peter >



