Descriptive Statistics Descriptive Statistics nan_coef_of_variation

NaN Toolbox >> NaN Toolbox > Descriptive Statistics > nan_center

nan_center

removes the mean

Calling Sequence

[z,mu] = nan_center(x,DIM,W)

Parameters

z:

x with removed mean along dimension DIM

mu :

mean

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)

Description

features: - can deal with NaN's (missing values) - weighting of data - dimension argument - compatible to Matlab and Octave

Examples

x=[0.2113249  0.0002211 0.6653811;
0.7560439  0.3303271 0.6283918]
s=nan_center(x)

See also

Authors

Descriptive Statistics Descriptive Statistics nan_coef_of_variation