You are on page 1of 1

function y0 = punto1(x, y, x0,n)

y0 = 0;
for j =
t = 1;
for i =
if i~=j
t = t *
end
end
y0 = y0
end

1 : n
1 : n
(x0-x(i))/(x(j)-x(i));
+ t*y(j);

You might also like