This preview shows page 1. Sign up to view the full content.
Unformatted text preview: L(i,:) = L(i,:).*(xx-x(j))/(x(i)-x(j)); end end end yy = 0; for i = 1:n % Calculation of interpolated yy values, i.e. L(x) yy = yy+y(i)*L(i,:); end end %%% if (size(x,2)~=size(y,2))...
View Full Document
This note was uploaded on 11/16/2009 for the course ENGIN 7 taught by Professor Horowitz during the Spring '08 term at Berkeley.
- Spring '08