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

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

[Octave-bug-tracker] [bug #31871] interp1 gives the wrong result for cub


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #31871] interp1 gives the wrong result for cubic interpolation
Date: Thu, 16 Dec 2010 15:12:50 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10

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

We could do that. Would it make sense to fix the current method and use it
for "v5cubic"?

I haven't gotten the details figured out, but it looks to me like only the
3rd order terms are wrong. Meaning for ...

    y = a*x.^3 + b*x.^2 + c*x + d

Is it the solution for "a" that has the bug.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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