CELL2COL Converts cell arrays of numeric arrays into 'column-appended' form. COL=CELL2COL(X) concatenates X, a cell array of N arrays all having the same number of columns, into a single long array COL with N blocks of data, each ending with a NAN. If the data is complex, each column will end with NAN+SQRT(-1)*NAN; To mark missing data, any pre-exiting NANs in X will be replaced with INFs, and any complex NANs will be replaced with complex INFs. CELL2COL is inverted by COL2CELL, provided X contains no NaNs. [C1,C2,...,CN]=CELL2COL(X1,X2,...,XN), with multiple input arguments, also works. CELL2COL(X1,X2,...,XN); with no output arguments overwrites the original input variables. CELL2COL(...,'nonans') suppresses the insertion of NANs as well as the swapping of existing NANs for INFS, and simply concatenates the cells into long arrays. __________________________________________________________________ See also COL2CELL, COL2MAT, MAT2COL, COLBREAKS, COL2CELL. 'cell2col --t' runs a test. Usage: col=cell2col(x); [c1,c2,...,cN]=cell2col(x1,x2,...,xN); __________________________________________________________________ This is part of JLAB --- type 'help jlab' for more information (C) 2008--2020 J.M. Lilly --- type 'help jlab_license' for details