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: Rik
Subject: [Octave-bug-tracker] [bug #42686] interp1 returns NAs in simple cases where 0 expected
Date: Sat, 05 Jul 2014 18:41:56 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

Update of bug #42686 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

This is the expected behavior.  Try 'help interp1' to get the documentation on
the function.  The value 2.1 is outside the range of the original data points
so there is no data for Octave to interpolate.  However, you can specify how
Octave will treat data which is outside the original data.  Look at the
'extrap' option.


    _______________________________________________________

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]