Code covered by the BSD License  

Highlights from
Numerical Methods Using MATLAB, 3e

image thumbnail

Numerical Methods Using MATLAB, 3e

by

 

20 Aug 2002 (Updated )

Companion Software

P=pcsfit(X,S)
function P=pcsfit(X,S)

for k=1:length(X)-1
   W(k)=X(k):.01:X(k+1);
   Z(k)=polyval(S(k,:),W(k)-X(k));
end

Contact us