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

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

[Octave-bug-tracker] [bug #39574] spline produces incorrect results in t


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #39574] spline produces incorrect results in the 'complete' situation
Date: Tue, 30 Jul 2013 11:10:38 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0

Follow-up Comment #3, bug #39574 (project octave):

Hi,

I think lines


dg = 1.5 * h(1) - 0.5 * h(2);
c(2:n-1,:) = 1/dg(1);


in spline.m should be replaced by


c(2,:) = (3*(a(3,:)-a(2,:))/h(2)-3*(a(2,:)-a(1,:))/h(1)+...
          dfs-dfe)/(h(1)+h(2));


Marco

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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