If x is a vector, subtract its mean and divide by its standard deviation. If x is a matrix, do the above along the first non-singleton dimension. If the optional argument dim is given then operate along this dimension.
If x is a vector, subtract its mean and divide by its standard deviation.
If x is a matrix, do the above along the first non-singleton dimension. If the optional argument dim is given then operate along this dimension.