[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matri
From: |
Marco Caliari |
Subject: |
[Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation |
Date: |
Mon, 25 Oct 2010 13:20:11 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060214 Firefox/3.0.11 |
Follow-up Comment #7, bug #31352 (project octave):
Dear all,
I'm attaching my new versions of interp2.m and bicubic.m. Comments:
1) bicubic supports meshgridded X,Y, extrapval and spline_alpha (now called
a)
2) for the cubic interpolation, interp2 does the following:
X and Y must be vectors of the same length or meshgridded
XI and YI vectors of different orientation (or meshgridded) or scattered
(same dimensions)
if (X and Y not equispaced)
if (XI and YI meshgridded)
__splinen__
else
direct spline
endif
else
bicubic
endif
3) all the testcases suggested by Gunnar (and included in interp2.m) now
pass, with some small modifications in the tolerance or in the orientation of
the result (now the orientation is ml compatible).
4) Documentation could be improved.
Please check.
Marco
(file #21807, file #21808)
_______________________________________________________
Additional Item Attachment:
File name: bicubic.m Size:3 KB
File name: interp2.m Size:19 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31352>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, anonymous, 2010/10/16
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Thorsten Meyer, 2010/10/18
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Marco Caliari, 2010/10/19
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Gunnar Farnebäck, 2010/10/19
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Marco Caliari, 2010/10/20
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Gunnar Farnebäck, 2010/10/21
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Marco Caliari, 2010/10/22
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation,
Marco Caliari <=
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Gunnar Farnebäck, 2010/10/25
- [Octave-bug-tracker] [bug #31352] interp2 broken for non-quadratic matrices when using cubic interpolation, Marco Caliari, 2010/10/26