P19_9 - A,3)=2*pp.coefs,2 A,4)=1*pp.coefs,3 pp.coefs=A splinefit=ppval(pp,x s function new = df(r f new =

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function P19_9 f x = [0.6 1.5 1.6 2.5 3.5]'; x y = [.9036 .3734 .3261 .08422 .01596]'; y truederivs = [ t pp=spline(x,y); A=zeros(size(pp.coefs)); A(:,2)=3*pp.coefs(:,1);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: A(:,3)=2*pp.coefs(:,2); A(:,4)=1*pp.coefs(:,3); pp.coefs=A; splinefit=ppval(pp,x) s function new = df(r) f new =...
View Full Document

This note was uploaded on 09/21/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Ask a homework question - tutors are online