IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
assert_meancentered.m File Reference

Detailed Description

Checks whether the columns of X have mean zero up to a certain tolerance.

Definition in file assert_meancentered.m.

Go to the source code of this file.

Functions

function assert_meancentered (in X, in tolerance)
 

Function Documentation

function assert_meancentered ( in  X,
in  tolerance 
)
Parameters
XInput matrix
tolerance=0.0001 . A value of 0.0001 means that each variable mean needs to be <= 0.01% * its maximum absolute value
Returns
Nothing. If fails, wil generate an error.