[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extrapolate forbidden with interp1, spline
From: |
David Bateman |
Subject: |
Re: extrapolate forbidden with interp1, spline |
Date: |
Tue, 27 Nov 2007 17:40:42 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
John W. Eaton wrote:
> On 27-Nov-2007, David Bateman wrote:
>
> | This is a bug in matlab, as extrapolation should only be done if the
> | "extrap" flag is given..
>
> I just checked the Matlab docs and I think it is more subtle than
> this. It seems that methods other than nearest, linear, and v5cubic
> do extrapolate for out of range values even without the extra "extrap"
> argument.
>
> jwe
>
>
Then this is inconsistent behavior.. Do we want it have it for
compatibility?
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary