CELLMED Median value of each element a cell array. M=CELLMED(X) where X is a cell array of N arrays, is equivalent to M(1,1)=MEDIAN(X{1}(:)) ,..., M(N,1)=MEDIAN(X{N}(:)) thus returning an N x 1 array containing the mean values of each element in the cell array. In taking the median, non-finite values are ignored, as in VMEDIAN. M is a column vector of the same length as X. [M1,M2,...,MP]=CELLMED(X1,X2,...,XP) also works for P different input arguments. CELLMED(X1,X2,...XP); with no output arguments overwrites the original input variables. __________________________________________________________________ Parallelization CELLMED(...,'parallel') parallelizes the computation using a PARFOR loop. This requires that Matlab's Parallel Computing Toolbox be installed, and is useful for very large datasets. __________________________________________________________________ See also CELLMEAN, CELLSTD, JCELL. Usage: m=cellmed(x); [m1,m2,m3]=cellmed(x1,x2,x3); cellmed(x1,x2,x3); cellmed(x1,x2,x3,'parallel'); __________________________________________________________________ This is part of JLAB --- type 'help jlab' for more information (C) 2019 J.M. Lilly --- type 'help jlab_license' for details