No BSD License  

Highlights from
Numerical Methods using Matlab, 2e

image thumbnail
from Numerical Methods using Matlab, 2e by John Penny
Companion Software

e2pg285b.m
x=1:.2:2;
y=ones(size(x))./x;
p=polyfit(x,y,5)
interpval=polyval(p,1.03);
fprintf('interpolated value= %10.8f\n',interpval);

Contact us at files@mathworks.com