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):