CENTER removes the mean [z,mu] = center(x,DIM,W) removes mean x along dimension DIM x input data DIM dimension 1: column 2: row default or []: first DIMENSION, with more than 1 element W weights to computed weighted mean (default: [], all weights = 1) numel(W) must be equal to size(x,DIM) features: - can deal with NaN's (missing values) - weighting of data - dimension argument - compatible to Matlab and Octave see also: SUMSKIPNAN, MEAN, STD, DETREND, ZSCORE REFERENCE(S):

- sumskipnan SUMSKIPNAN adds all non-NaN values.

- naninsttest NANINSTTEST checks whether the functions from NaN-toolbox have been
- nanstd NANSTD same as STD but ignores NaN's.
- std STD calculates the standard deviation.
- var VAR calculates the variance.

Generated on Fri 22-May-2009 15:02:45 by