Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
Lagrange
n=lenght(X);s=0;for i=1:nL=1;for j=1:nif j~=iL=conv(L, [1 -x(j)])/(x(i)-x(j));endends=s+y(i)*L;p=s;end