LTPDA Toolbox | contents | ![]() ![]() |
Gaps in data can be filled with interpolated data if desired. LTPDA ltpda_gapfilling joints two AOs
by means of a segment of synthetic data. This segment is calculated from the two input AOs. Two different
methods are possible to fill the gap in the data: linear and spline. The former fills the data
by means of a linear interpolation whereas the latter uses a smoother curve ---see examples below.
Syntaxis
b = ltpda_gapfilling(a1, a2, pl)
where a1 and a2 are the two segments to joint. The parameters are:
Interpolation methods
1. Linear :
2. Spline (or third order interpolation) :
The parameters a, b, c and d are calculated by solving next system of equations:
Examples
1. Missing data between two vectors of random data interpolated with the linear method.
2. Missing data between two data vectors interpolated with the spline method.
![]() |
Spikes reduction in data | Noise whitening | ![]() |
©LTP Team