next up previous contents
Next: mnanmedian.m and mnanmean.m Up: Other files included Previous: xcorrf2.m   Contents

fillmiss.m

File written by Kirill K. Pankratov, kirill@plume.mit.edu (1994). File found at the Mathworks web-site. File performs a linear interpolation of NaN's in a matrix. The help text in the file says (quote): ``Missing values are calculated as weighted sum of linear interpolations from nearest available points. Altogether 5 estimates from column-wise and 5 for row-wise 1-d linear interpolation are calculated. Weights are such that for the best case (isolated missing points away from the boundary) the interpolation is equvalent to average of 4-point Lagrangian polynomial interpolations from nearest points in a row and a column.''



Johan K. Sveen 2004-08-06