octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #42686] interp1 returns NAs in simple cases wh


From: anonymous
Subject: [Octave-bug-tracker] [bug #42686] interp1 returns NAs in simple cases where 0 expected
Date: Sat, 05 Jul 2014 19:21:03 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

Follow-up Comment #2, bug #42686 (project octave):

Apologies for not studying the help to learn that this behavior is on purpose.
 I didn't think to do that because the behavior was so obviously not what one
would expect.  I therefore submit that 'extrap' should be the default
behavior.  Octave users typically know what polynomial interpolation is, and
so they would naturally expect polynomial extrapolation outside the range of
given points.  Getting NA is a very bad default, because NAs tend to cause
destruction much later as they propagate, leading to a time-consuming search
for the first creation of NA in the results.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42686>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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