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

Jan
Jan 2012년 12월 10일
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.

댓글을 달려면 로그인하십시오.

 채택된 답변

Matt J
Matt J 2012년 12월 10일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

질문:

2012년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by