getinterpmethod(ts)
getinterpmethod(
returns
the interpolation method that the ts
)timeseries
object ts
,
uses as a string.
|
The |
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