help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extrapolate forbidden with interp1, spline


From: John W. Eaton
Subject: Re: extrapolate forbidden with interp1, spline
Date: Tue, 27 Nov 2007 13:26:01 -0500

On 27-Nov-2007, Eric Chassande-Mottin wrote:

| as a first impression, I am against. the results given by those procedures
| are likely to be crazy when extropolating away from the data support.
| the use of "extrap" ensures that the user knows that what he/she is
| doing. the warning I was suggesting in my first message would
| help the user to understand that interp1 works slightly differently
| in Octave and would point him/her to a simple fix.

OK, then I'd suggest doing the Matlab compatible thing but with a warning
when extrapolating without the "extrap" argument.  I'd consider a patch.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]