NANFILTER is able to filter data with missing values encoded as NaN.
[Y,Z] = nanfilter(B,A,X [, Z]);
If X contains no missing data, NANFILTER should behave like FILTER.
NaN-values are handled gracefully.
WARNING: missing values can introduce aliasing - causing unintended results.
Moreover, the behavior of bandpass and highpass filters in case of missing values
is not fully understood, and might contain some pitfalls.
see also: FILTER, SUMSKIPNAN, NANFFT, NANCONV, NANFILTER1UC
Package: nan