| Contents | Index |
Interpolation method for timeseries object
getinterpmethod(ts)
getinterpmethod(ts) returns the interpolation method that the timeseries object ts, uses as a string.
ts |
The timeseries object from which you want to extract the interpolation method. |
Predefined interpolation methods are zero-order hold, zoh, and linear interpolation, linear. Linear interpolation is the default.
Create a timeseries object, and then get its interpolation method:
ts = timeseries(rand(5)); getinterpmethod(ts)
MATLAB returns:
linear
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |