GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing octave.sourceforge.io — Function Reference: mkpp
Demonstration 1The following code # linear interpolation
x = linspace (0,pi,5)';
t = [sin(x), cos(x)];
m = diff (t) ./ (x(2)-x(1));
b = t(1:4,:);
pp = mkpp (x, [m(:),b(:)]);
xi = linspace (0,pi,50);
plot (x,t,"x", xi,ppval (pp,xi));
legend ("control", "interp");
Produces the following figure
Package: octave | |||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |