CELLPACK is the jCell module of jLab.

 CELLPACK  Removes all INF values from cell arrays of numeric arrays.
 
    Y=CELLPACK(X) where X is a cell array of numeric arrays, removes any
    INF values occuring within the cells and returns the result in Y.  
 
    An example of an input cell array X and the output Y is as follows:
 
        X{1} = [1 2 inf 4 inf]';  X{2}=[inf 2 3]';  X{3}=[1 2];   X{4}=[];
        Y{1} = [1 2 4]';          Y{2}=[2 3]';      Y{3}=[1 2];   Y{4}=[];
 
    CELLPACK does not remove empty cells.  This is done by CELLPRUNE.
 
    [Y1,Y2,...YN]=CELLPACK(X1,X2,...XN) with multiple input arguments, all
    of the same size, removes locations of INFs that occur in *first* input
    variable X1 only, while ignoring INFs in the others. The output
    variables Y1,Y2,...YN will all be the same size.
 
    CELLPACK(X1,X2,...XN); with no output arguments overwrites the 
    original input variables.   
 
    'cellpack --t' runs a test.
 
    Usage: y=cellpack(x);
           [y1,y2,y3]=cellpack(x1,x2,x3);
           cellpack(x1,x2,x3);
    __________________________________________________________________
    This is part of JLAB --- type 'help jlab' for more information
    (C) 2015--2020 J.M. Lilly --- type 'help jlab_license' for details

contents | allhelp | index