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

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

[Octave-bug-tracker] [bug #36732] interp1 does not check input for monot


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity
Date: Sat, 18 Aug 2012 23:36:52 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.6) Gecko/20100101 Firefox/10.0.6 Iceweasel/10.0.6

Follow-up Comment #17, bug #36732 (project octave):

The following was a comment by Francesco Potortì by e-mail:

As far as I know, Matlab requires strictly monotonic values for X.  The bug
report claims that an error is generated in Matlab for

interp1([1:5 4:9], 1:11, 4)


Please, could someone with access to Matlab check whether this one generates
an error too?

interp1([1:5 3.5:9], 1:11, 4)

In this second test case X contains all distinct values, but they are
non-monotonic.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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