Command Reference : Matrix Language Reference
  
 
@stdize
Syntax: @stdize(A)
Argument: matrix, A
Return: matrix
Returns a copy of matrix A scaled and translated to have a mean of zero and a sample standard deviation of one. Example:
matrix m = @mrnd(10,10)
@mean(m)
@var(m)
matrix stdm = @stdize(m)
@mean(stdm)
@var(stdm)
The matrix m should have mean approximately 0.5 and variance approximately 0.083. The standardized matrix m, stdm, should have mean approximately 0 and variance approximately 0.99 (note that the degrees-of-freedom here is ).
See also @colstdize, @stdizep, and @colstdizep.