octave-bug-tracker
[Top][All Lists]
Advanced

[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: Fri, 05 Nov 2010 11:20:42 +0000
User-agent: Mozilla/5.0 (X11; U; LinuĺéN602!T\dc 9;JAyapRVEFADCWXE^FGFirefox/3.0.11

Follow-up Comment #12, bug #31352 (project octave):

Dear all,

here it is another version of my bicubic.m. I'm not sure the problem of
'memory exhausted' has completely gone (i.e., are still there cases that the
old code can manage and the new one not?). Anyway, issues (2) and (3) by
Thorsten are fixed. By the way, in comment (3) x is not equispaced: bicubic
can only handle equispaced x and y, otherwise a spline approach has to be
considered (this is automatically done by my interp2 called with the 'cubic'
options).
I also improved the performance, even if the case with large scattered xi and
yi is still better with the old code.

Please test it.

Marco

(file #21932)
    _______________________________________________________

Additional Item Attachment:

File name: bicubic.m                      Size:5 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31352>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]