CELLSTD Standard deviation of each element a cell array, possibly weighted. S=CELLSTD(X) where X is a cell array of N arrays, is equivalent to S(1,1)=STD(X{1}(:)), S(2,1)=STD(X{2}(:)), ..., S(N,1)=STD(X{N}(:)) thus returning an N x 1 array containing the standard deviation of all values in each element in the cell array. In taking the standard deviation, non-finite values are ignored, as in VSTD. The output S is a column vector of the same length as X. [S1,S2,...,SP]=CELLSTD(X1,X2,...,XP) also works for P different input arguments. CELLSTD(X1,X2,...XP); with no output arguments overwrites the original input variables. __________________________________________________________________ Weighted standard deviation CELLSTD(X,'weight',W) or CELLSTD(X1,X2,...,XP,'weight',W) where W is a cell array of the same size as the other input variables, computes the weighted standard deviation, using the weighting factor ABS(W).^2. __________________________________________________________________ Parallelization CELLSTD(...,'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, CELLMED, JCELL. Usage: s=cellstd(x); [s1,s2,s3]=cellstd(x1,x2,x3); [s1,s2,s3]=cellstd(x1,x2,x3,'weight',w); cellstd(x1,x2,x3); __________________________________________________________________ This is part of JLAB --- type 'help jlab' for more information (C) 2015--2019 J.M. Lilly --- type 'help jlab_license' for details