[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Octave-bug-tracker] [bug #36732] interp1 does not check input for m
From: |
Francesco Potortì |
Subject: |
Re: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity |
Date: |
Sun, 19 Aug 2012 01:05:26 +0200 |
>Right! Sorry about the confusion. Distinct is
>correct. And, the Manual is wrong. So, the
>error test should be for distinct values of X
>and the manual should be corrected.
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.
--
Francesco Potortì (ricercatore) Voice: +39.050.315.3058 (op.2111)
ISTI - Area della ricerca CNR Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa Fax: +39.050.315.2040
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, (continued)
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/21
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/21
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/21
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/21
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/21
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Edward Meyer, 2012/08/22
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/23
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/23
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael Godfrey, 2012/08/23
- [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Ben Abbott, 2012/08/23
- Re: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity,
Francesco Potortì <=
- Message not available
- Re: [Octave-bug-tracker] [bug #36732] interp1 does not check input for monotonicity, Michael D Godfrey, 2012/08/17