[Top][All Lists]

[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: Vivek
Subject: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity
Date: Wed, 08 Aug 2012 06:42:50 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1

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

In the documentation it is written that 

"The sample points @var{x} must be strictly monotonic" 

I guess there is no need for 'x' to be strictly monotonic. Only requirement
should be that all the values of x should be distinct.

Also, there is another bug in 'interp1'. Following command should give an


although it gives 4. It is not checked whether the length of first and second
argument is same or not.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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