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 Comments

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.

Sign in to comment.

 Accepted Answer

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

More Answers (0)

Categories

Asked:

on 10 Dec 2012

Community Treasure Hunt

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

Start Hunting!