COL2CELL is the jCell module of jLab.

 COL2CELL  Converts 'column-appended' data into cell arrays of numeric arrays.
    X=COL2CELL(COL) converts the array COL, which has blocks of data
    separated by rows of all NaNs, into a cell array, with each cell
    containing one of the data blocks, excluding the trailing NaNs.
    Since NANs mark the end of each block, missing or bad data in COL
    should instead be indicated by INFs.
    [X1,X2,...,XN]=COL2CELL(C1,C2,...,CN) also works, where the CN are all 
    the same size.  In this case the locations of NANs in C1 are used 
    to break all the other CN into cells.  
    COL2CELL(C1,C2,...,CN); with no output arguments overwrites the 
    original variables.
    COL2CELL is inverted by CELL2COL.
    'col2cell --t' runs a test.
    Usage: x=col2cell(col);
    This is part of JLAB --- type 'help jlab' for more information
    (C) 2008--2016 J.M. Lilly --- type 'help jlab_license' for details

contents | allhelp | index