Function: wavcell2pack
WAVCELL2PACK Changes wavelet coefficients storing format
  Usage:  [cvec,Lc] = wavcell2pack(ccell);
          [cvec,Lc] = wavcell2pack(ccell,dim);

  Input parameters:
        ccell    : Coefficients stored in a collumn cell-array.
        dim      : Dimension along which the data were transformed. 

  Output parameters:
        cvec     : Coefficients in packed format.
        Lc       : Vector containing coefficients lengths.

  [cvec,Lc] = WAVCELL2PACK(ccell) assembles a column vector or a matrix
  cvec using elements of the cell-array ccell in the following
  manner:

     cvec(1+sum(Lc(1:j-1)):sum(Lc(1:j),:)=ccell{j};

  where Lc is a vector of length numel(ccell) containing number of
  rows of each element of ccell.

  [cvec,Lc] = WAVCELL2PACK(ccell,dim) with dim==2 returns a
  transposition of the previous.

Url: http://ltfat.github.io/doc/wavelets/wavcell2pack.html

See also: wavpack2cell, fwt, wfbt, wpfbt.

Package: ltfat