Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Create a vector of derivatives, given a vector of values
Date: Thu, 16 Oct 2008 18:01:03 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 11
Message-ID: <gd7vgv$ohf$1@fred.mathworks.com>
References: <gd6dfl$be8$1@fred.mathworks.com> <gd6k3j$515$1@fred.mathworks.com> <gd7lnq$h82$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1224180063 25135 172.30.248.37 (16 Oct 2008 18:01:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 16 Oct 2008 18:01:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:495670


"Johan " <robert.mchugh@ips.invensys.com> wrote in message <gd7lnq$h82$1@fred.mathworks.com>...

> 
> Are there existing tools to smooth this out?
> 
> Regards. 
> 

You might fit (avoid interpolate) the data with a model, then take a derivative of a fitted model. If you don't know the model, then using a universal cubic spline for model could better way than diff.

Bruno