method = getinterpmethod(ts)
| Parameter | Description |
|---|---|
| ts | Input timeseries object. |
| Parameter | Description |
|---|---|
| method | Interpolation method name. |
getinterpmethod Reads the interpolation method stored in ts.DataInfo.Interpolation.
ts = timeseries([1; 2; 3]);
ts = setinterpmethod(ts, 'nearest');
getinterpmethod(ts)
| Version | Description |
|---|---|
| 2.0.0 | initial version |