NANFILTER1UC is an adaptive filter for data with missing values encoded as NaN. 
       
      [Y,Z] = nanfilter1uc(uc,X [, Z]);  

 if X contains no missing data, NANFILTER behaves like FILTER(uc,[1,uc-1],X[,Z]).

 see also: FILTER, NANFILTER, SUMSKIPNAN

Package: nan