Next: , Previous: , Up: API Alphabetically   [Contents]


8.2.16 fillmissing

Function: [out, tfFilled] = fillmissing (X, method)
Function: [out, tfFilled] = fillmissing (X, 'constant', fill_val)
Function: [out, tfFilled] = fillmissing (X, movmethod, window)

Fill missing values.

Fills missing values in X according to the method specified by method.

This method is only partially implemented.

method may be: 'constant' 'previous' 'next' 'nearest' 'linear' 'spline' 'pchip' movmethod may be: 'movmean' 'movmedian'

Returns out, which is X but with missing values filled in, and tfFilled, a logical array the same size as X which indicates which elements were filled.