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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #30587] buggy implementation of bicubic interp


From: Thorsten Meyer
Subject: [Octave-bug-tracker] [bug #30587] buggy implementation of bicubic interpolation in interp2/bicubic
Date: Fri, 13 Aug 2010 16:06:52 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100721 Iceweasel/3.5.11 (like Firefox/3.5.11)

Follow-up Comment #2, bug #30587 (project octave):

Dear Marco,

thanks for your feedback.

1. You mention the case where xi and yi are vectors of the same length and
orientation. At the moment, interp2 passes these to bicubic.m and there they
will be used to define a meshgrid on which to interpolate. You say that the
two vectors should be interpreted as scattered vectors instead (giving only a
vector of interpolated values). If I understand you correctly, interp2 would:
 - interpret xi, yi as vectors of scattered data if xi and yi are of same
length and orientation
 - use xi, yi to define a meshgrid when they have different orientation
and/or different length

I personally would prefer an explicit option to force interp2 to treat xi, yi
vectors this or the other way. What does matlab do in these cases?

2. You ask, why I should give xi, yi as matrices, if they represent scattered
data. Well, actually, I was trying to understand the existing code and found
only this way to get the bicubic interpolation algorithm within interp2 to be
used. I also don't think, that such a use would be particularly useful (once
issue 1 above has been resolved in some way).

Regards

Thorsten

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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