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

Detailed Description

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

For instance, if tolerance is 0.02, -0.02 <= mean <= 0.02, and 0.98 <= variance <= 1.02 will be accepted.

Definition in file assert_standardized.m.

Go to the source code of this file.

Functions

function assert_standardized (in X, in tolerance)
 

Function Documentation

function assert_standardized ( in  X,
in  tolerance 
)
Parameters
XInput matrix
tolerance=0.001 Tolerance
Returns
Nothing. If fails, wil generate an error.