[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 21:33:04 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Michael Godfrey <godfrey <at> isl.stanford.edu> writes:
> >> interp1((0:10), 2*(0:10), 11, 'extrap')
> ??? Error using ==> interp1 at 344
> Invalid method.
>
> >> interp1((0:10), 2*(0:9), 11, 'extrap')
> ??? Error using ==> interp1 at 344
> Invalid method.
For comparison sake (can you try on ML?):
2> interp1((0:10), 2*(0:9), 11, 'linear', 'extrap')
error: A(I): Index exceeds matrix dimension.
error: called from:
error: C:\Octave\3.2.4_gcc-4.4.0\share\octave\3.2.4\m\general\interp1.m at
line 208, column 19