Home > Objects > @iData > fill.m

iFit/fill

PURPOSE ^

FILL fill-in over missing data

SYNOPSIS ^

function c=fill(a, n)

DESCRIPTION ^

 FILL fill-in over missing data
   Y = FILL(X) replaces the missing data in X by extra/interpolating
   the non-missing elements. The non finite values (NaN or Inf) in X are
   considered as missing data.

   FILL uses an iterative process that converges toward the solution.
   Y = FILL(X,N) uses N iterations. By default, N = 100. If you
   estimate that FILL did not totally converge, increase N:
   Y = FILL(X,1000);

 input:  a: object or array (iData)
         n: number of iterations (integer)
 output: c: filled object (iData)
 ex:     a=iData([ ifitpath 'Data/Monitor_GV*']); b=hist(a); c=fill(b);

 Version: Mar. 22, 2017
 See also iData, accumarray, hist, histc, iData/plot, sum, iData/interp, iData/event, iData/squeeze, iData/pack

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1