CELLGRID is the jCell module of jLab.

 CELLGRID  Interpolate a cell array of numeric arrays onto a regular grid. 
    [TO,Y]=CELLGRID(T,X,DT) where T is a cell array of time arrays, and
    X is of the same size as T, linearly interpolates the elements of X 
    within T at times TO, which are regularly spaced with interval DT.  
    CELLGRID does not modify bad data points, such as those marked with
    NaNs.  See CELLFILL to interpolate over bad data points.  
    As an example, with T and X given by
        T{1} = [1 2 3  5  6]';   T{2}=[3 7  9 10]';   
        X{1} = [2 4 6 10 12]';   X{2}=[5 9 11 12]';
    [TO,Y]=CELLGRID(T,X,1) will return
        TO{1} = [1 2 3 4  5  6]';   TO{2} = [3 4 5 6 7 8  9  10]';   
        Y{1}  = [2 4 6 8 10 12]';   Y{2}  = [5 6 7 8 9 10 11 12]';
    By default, CELLGRID uses INTERP1 with the 'pchip' method of
    interpolation.  CELLGRID(...,STR) instead uses the method specified by
    STR, e.g. STR='linear'.  See INTERP1 for details. 
    [TO,Y1,Y2,...YN]=CELLGRID(T,X1,X2,...XN,DT) with multiple input
    arguments also works provided the XN are all the same size. 
    CELLGRID(X1,X2,...XN); with no output arguments overwrites the 
    original input variables. 
    Specifying interpolated times
    [TO,Y]=CELLGRID(T,X,DT,A,B) will set TO to TO=A:DT:B, where A and B 
    are either scalars or an arrays of the same size as X.  Note that DT
    must be a scalar.
    The default behavior is equivalent to choosing A and B as the first and
    last elements of TO, that is, to setting A=CELLMIN(T) and B=CELLMAX(T).
    CELLGRID(...,'parallel') parallelizes the computation using a PARFOR 
    loop over the various input variables.  This requires that Matlab's 
    Parallel Computing Toolbox be installed. 
    'cellgrid --t' runs a test.
    Usage: [to,y]=cellgrid(t,x,dt);
    This is part of JLAB --- type 'help jlab' for more information
    (C) 2015 J.M. Lilly --- type 'help jlab_license' for details

contents | allhelp | index