Normalize each column of a matrix

2 次查看(过去 30 天)
I have one doubt that, suppose if a matrix has zero mean and unit variance, then whether each of its columns has zero mean and unit variance or not..?
  2 个评论
Jan
Jan 2012-12-10
What is the "mean" of a matrix exactly? I do not think that this is mathematically defined.
Berbia
Berbia 2012-12-11
B = mean2(A)
here B is the "mean" value of matrix A.
My question is suppose if B is 0, then whether mean(A) gives a row vector of all values 0.

请先登录,再进行评论。

采纳的回答

Matt J
Matt J 2012-12-10
No. Take the matrix
A=[1 -1; 1 -1]
Clearly A(:) has zero mean and unit variance, but its columns individually do not.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by