TSTOOL home page | TSTOOL documentation page | TSTOOL link page

next up previous contents
Next: 6.2 amutual - compute Up: 6. Mex-Function Reference Previous: 6. Mex-Function Reference

6.1 akimaspline - Cubic spline interpolation using Akima splines

Compared to Matlab's built-in cubic spline, Akima spline interpolation better copes with discontinuities in a time series.

Syntax:

Input arguments:

Output arguments:

Example:

 
x = 1:100;
y = floor((x + rand(1, 100))/ pi);
xx = 1:0.1:100;
yy = akimaspline(x, y, xx);
plot(x,y, xx, yy, 'r')



TSTOOL

Copyright © 1997-2009 DPI Göttingen