1-D Lookup Table を使って内挿法を3次スプラインとするのは如何でしょうか。

x = 0:3;
y = x.^3;
plot(x,y,'ro')
xx = 0:.1:3;
yy = interp1(x,y,xx,'pchip');
hold on
plot(xx,yy,'b')
hold off

Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!