Interpolate missing observations
Interpolate missing observations
Syntax
X = interp(X, Range, ...)
Input arguments
X [ tseries ]
Input time series.
Range [ numeric | char ]
Date range within which any missing observations (
NaN) will be interpolated using observations available within that range.
Output arguments
X [ tseries ]
Tseries object with the missing observations interpolated.
Options
Method='Cubic' [ char | 'Cubic' ]
Any valid method accepted by the built-in
interp1( )function.
Description
Examples