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 Kommentare

Jan
Jan am 10 Dez. 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.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Matt J
Matt J am 10 Dez. 2012

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Gefragt:

am 10 Dez. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by