Sie sind auf Seite 1von 1

function [F] = SPALTEN_AITKEN_NEVILLE(x,f,y)

% function [F] = SPALTEN_AITKEN_NEVILLE(x,f,y)

% INPUT: x Stützstellen (Spaltenvektor)

% f Werte an den Stützstellen (Spaltenvektor)

% y Auswertungspunkt

% OUTPUT: F dividierte Differenzen der letzten Schrägzeile

% (Spaltenvektor) mit F(1) = P(y)

% Date: 2004-05-04

% Author: Stefan Hüeber

% Email: hueeber@ians.uni-stuttgart.de

n = length(x)-1;

y = y*ones(n+1,1);

for i=1:n

I = 1:n-i+1;

f(I)=f(I+1)+((y(I+i)-x(I+i))./(x(I+i)-x(I))).*(f(I+1)-f(I));

end

F = f;

Das könnte Ihnen auch gefallen