Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: does anyone know a
Date: Thu, 3 Jul 2008 05:12:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 30
Message-ID: <g4hn31$rql$1@fred.mathworks.com>
References: <g4go36$n1h$1@fred.mathworks.com> <g4gvj6$flc$1@fred.mathworks.com> <g4h0se$qso$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1215061921 28501 172.30.248.37 (3 Jul 2008 05:12:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 3 Jul 2008 05:12:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1058586
Xref: news.mathworks.com comp.soft-sys.matlab:477292



"John D'Errico" <woodchips@rochester.rr.com> wrote in
message <g4h0se$qso$1@fred.mathworks.com>...
> "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

I'm afraid the data is not equally spaced...