http://www.q-korea.net/popup/popup_02/sub_main.html
x = 0:0.5:10; y = sin(x); plot(x,y,'ko-');hold onxi = 0:.25:10; for i=1:size(xi,2) yi(i) = interp1(x,y,xi(i)); % default : linear % yi(i) = interp1(x,y,xi(i),'spline'); plot(xi(i),yi(i),'rx'); pauseend
http://msdn.microsoft.com/en-us/windows/hardware/gg463009.aspx