Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!n39g2000hsh.googlegroups.com!not-for-mail
From:  Srikanth <skt@xdtech.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: calculating velocity in 3D space
Date: Tue, 18 Sep 2007 18:25:40 -0000
Organization: http://groups.google.com
Lines: 12
Message-ID: <1190139940.463753.155030@n39g2000hsh.googlegroups.com>
References: <fcp47q$f9k$1@fred.mathworks.com><fcp4jg$mmb$1@fred.mathworks.com>
NNTP-Posting-Host: 149.169.66.156
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1190139940 24479 127.0.0.1 (18 Sep 2007 18:25:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 18 Sep 2007 18:25:40 +0000 (UTC)
In-Reply-To: <fcp4jg$mmb$1@fred.mathworks.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: n39g2000hsh.googlegroups.com; posting-host=149.169.66.156;
Xref: news.mathworks.com comp.soft-sys.matlab:429170




> something like:
> sqrt((x0-x1)^2+(y0-y1)^2+(z0-z1)^2)/(t1-t0)

Of course, this would give you more of a speed, rather than a
velocity, since you don't have a direction... but if you wanted to
find it with direction, all you need to do is to do a single
differentiation in each axis separately. If you have a vector of
points for each axis, you could use the diff command