[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interp1() usability bug
From: |
fork |
Subject: |
Re: Interp1() usability bug |
Date: |
Thu, 27 Jan 2011 22:50:56 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Michael D. Godfrey <godfrey <at> isl.stanford.edu> writes:
> >> version
> ans =
> 7.9.0.529 (R2009b)
> >> interp1((0:10), 2*(0:9), 11, 'linear', 'extrap')
> ??? Error using ==> interp1 at 125
> X and Y must be of the same length.
Nice -- that seems to be reasonable behavior. Could you try one more (I am
thinking it will error again)?
interp1((0:9), 2*(0:10), 11, 'linear', 'extrap')
I will file a bug report, hopefully with a patch/ changeset. Anybody have any
thoughts?
Thanks Michael for your help.