[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: |
Tue, 19 Oct 2010 09:17:50 +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 #2, bug #31352 (project octave):
Dear all,
here is my first rewrite of cubic interpolation in interp2. Comments:
1) it uses spline interpolation instead of the more simple bicubic (it allows
not equispaced meshgridded X and Y)
2) The function is still undocumented and without input checking.
3) Thorsten's patch https://savannah.gnu.org/bugs/download.php?file_id=21707
should be applied to spline
4) another patch should be applied to spline in order to manage in a default
way the case
spline([0,1],[0,1])
5) issues 3) and 4) can be ignored if you use enough (> 3) points for X and
Y
6) I could reduce the code to standard bicubic (as ml) if X and Y are
equispaced (it is faster and the default in ml), i.e. I can rewrite the actual
bicubic.m in a more accurate and faster way.
Comments?
Marco
(file #21716, file #21717)
_______________________________________________________
Additional Item Attachment:
File name: newinterp2.m Size:0 KB
File name: testnewinterp2.m Size:0 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 <=
- [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, 2010/10/25
- [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