CELLFILL is the jCell module of jLab.

 CELLFILL  Fills missing data marked by INFs in a cell array.
 
    Y=CELLFILL(X) where X is a cell array of numeric arrays, interpolates 
    to fill INF values in the of the cells, and returns the result in Y.  
 
    By default CELLFILL uses the 'pchip' method.  CELLFILL(X,STR) instead
    uses the method specified by STR.  See INTERP1 for possible methods. 
 
    An example of an input cell array X and the output Y is as follows:
 
        X{1} = [1 2 inf 4 5]';   X{2}=[2 4 6 inf inf 12]';   
        Y{1} = [1 2  3  4 5]';   Y{2}=[2 4 6  8  10  12]';   
 
    If INFs in X are at the beginnings or the ends of cells, some INFs may 
    still be present in Y, depending on the method used.  If all INFs in X 
    are interior INFs, there will be no INFs in Y regardless of the method.
 
    [Y1,Y2,...YN]=CELLFILL(X1,X2,...XN) with multiple input arguments also
    works provided the XN are all the same size. 
 
    CELLFILL(X1,X2,...XN); with no output arguments overwrites the 
    original input variables.   
 
    'cellfill --t' runs a test.
 
    Usage: y=cellfill(x);
           [y1,y2,y3]=cellfill(x1,x2,x3);
           cellfill(x1,x2,x3);
    __________________________________________________________________
    This is part of JLAB --- type 'help jlab' for more information
    (C) 2015--2018 J.M. Lilly --- type 'help jlab_license' for details

contents | allhelp | index