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: Ben Abbott
Subject: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity
Date: Sun, 19 Aug 2012 17:57:46 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1

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

Michael, are you working on a changeset, or should interp1 already handle the
right-continuous / left-continuous behavior correctly with Vivek's changeset
reverted?

I tried the example below, but get the same curve twice.


x = [1, 2, 3, 3, 4, 5];
y = [1, 2, 2, 4, 4, 5];
a = 1:5;
plot (a, interp1 (x, y, a))


    _______________________________________________________

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]