| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
getinterpmethod(ts)
getinterpmethod(ts) returns the interpolation method as a string that is used by the timeseries object ts. Predefined interpolation methods are 'zoh' (zero-order hold) and 'linear' (linear interpolation). The method strings are case sensitive.
ts = timeseries(rand(5));
Get the interpolation method for this object.
getinterpmethod(ts)
ans =
linearsetinterpmethod, timeseries, tsprops
![]() | GetFullMatrix | getpixelposition | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |