CELLPRUNE is the jCell module of jLab.

 CELLPRUNE  Removes all empty cells, or cells less than a specified length.
    Y=CELLPRUNE(X), where X is a cell array, returns Y which is the same 
    as X but excluding any empty cells.  
    An example of an input cell array X and the output Y is as follows:
        X{1} = [1 2 3 4 nan]';    X{2}=[]';    X{3}=[1 2];
        Y{1} = [1 2 3 4]';                     Y{2}=[1 2];
    Y=CELLPRUNE(X,M) will remove all cells with a length of less than M 
    points. In the above example, Y=CELLPRUNE(X,3) gives Y{1}=[1 2 3 4]'.
    [Y1,Y2,...YN]=CELLPRUNE(X1,X2,...XN) or CELLPRUNE(X1,X2,...XN,M) with
    multiple input arguments, all of the same size, also works.  
    CELLPRUNE(X1,X2,...XN); or CELLPRUNE(X1,X2,...XN,M);  with no output 
    arguments overwrites the original input variables.  
    By default, CELLPRUNE prints a message if it excludes any cells.  
    This behavior is suppressed with the call CELLPRUNE(...,'quiet').
    'cellprune --t' runs a test.
    Usage: y=cellprune(x);
    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