[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should interp1.m function allow jumps in X-values?
From: |
Juan Pablo Carbajal |
Subject: |
Re: Should interp1.m function allow jumps in X-values? |
Date: |
Tue, 21 Aug 2012 17:00:41 +0200 |
On Tue, Aug 21, 2012 at 4:51 PM, Martin Helm <address@hidden> wrote:
> Am 21.08.2012 16:35, schrieb Juan Pablo Carbajal:
>> interp1 calculates an interpolant, so it should either ignore the
>> repeated values or give an error.
> It is explicitly mentioned in the help that:
> Duplicate points in X specify a discontinuous interpolant.
>
> So it should not give a warning when used as it is explicitly intended
> to be used.
You are right. Then I fail to understand the problem posed.
If X is sorted then the two interpolants (the right and the left one)
are well defined.
--
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/
- Re: Should interp1.m function allow jumps in X-values?, (continued)
- Re: Should interp1.m function allow jumps in X-values?, Ben Abbott, 2012/08/22
- Re: Should interp1.m function allow jumps in X-values?, Michael D Godfrey, 2012/08/22
- Re: Should interp1.m function allow jumps in X-values?, Ben Abbott, 2012/08/22
- Re: Should interp1.m function allow jumps in X-values?, Ben Abbott, 2012/08/23
- Re: Should interp1.m function allow jumps in X-values?, Michael D Godfrey, 2012/08/23
- Re: Should interp1.m function allow jumps in X-values?, Martin Helm, 2012/08/21
- Re: Should interp1.m function allow jumps in X-values?,
Juan Pablo Carbajal <=
- Re: Should interp1.m function allow jumps in X-values?, Ed Meyer, 2012/08/21
- Re: Should interp1.m function allow jumps in X-values?, Martin Helm, 2012/08/21