TSTOOL home page | TSTOOL documentation page | TSTOOL link page |
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')