Normalize each column of a matrix

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 commentaires

Jan
Jan le 10 Déc 2012
What is the "mean" of a matrix exactly? I do not think that this is mathematically defined.
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.

Connectez-vous pour commenter.

 Réponse acceptée

Matt J
Matt J le 10 Déc 2012

0 votes

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

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by