Path: news.mathworks.com!not-for-mail
From: "John D'Errico" <woodchips@rochester.rr.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: does anyone know a
Date: Wed, 2 Jul 2008 22:53:02 +0000 (UTC)
Organization: John D'Errico (1-3LEW5R)
Lines: 24
Message-ID: <g4h0se$qso$1@fred.mathworks.com>
References: <g4go36$n1h$1@fred.mathworks.com> <g4gvj6$flc$1@fred.mathworks.com>
Reply-To: "John D'Errico" <woodchips@rochester.rr.com>
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 1215039182 27544 172.30.248.37 (2 Jul 2008 22:53:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 2 Jul 2008 22:53:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869215
Xref: news.mathworks.com comp.soft-sys.matlab:477258



"Thomas Clark" <t.clarkremove_spam@cantab.net> wrote in message 
<g4gvj6$flc$1@fred.mathworks.com>...
> If your input vector is evenly spaced, use interp1q.
> 
> Alternatively, check the file exchange. 10 seconds of search
> gives rise to the following:
> 
> http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?
objectId=10286
> 
> 
> (reconstruct the link if it gets broken)
> 
> Tom Clark

But neither of these options offers a pchip
interpolation.

I don't know of any faster methods, although
is your data equally spaced? If so then a
pchip variant could be made more efficient
for that special case.

John