필터 지우기
필터 지우기

mathematical expectation

조회 수: 6 (최근 30일)
PChoppala
PChoppala 2012년 1월 6일
댓글: Ibrahim ATA 2021년 11월 6일
Hi
Suppose we have a vector X=[1 2 -1 5 2], I want the mathematical expectation E{x*x'}, can you please help me with that statements?
I presume the result will be a 5X5 matrix! This matrix is also called as the correlation matrix(as defined by the author of the paper I am doing).
Cheers
P

답변 (2개)

Walter Roberson
Walter Roberson 2012년 1월 6일
With your given X, X*X' would be a 1 x 1 matrix.
If your X was instead [1 2 -1 5 2].' then X*X' would be a 5 x 5 matrix. To phrase this another way, use a column vector instead of a row vector.
  댓글 수: 2
PChoppala
PChoppala 2012년 1월 6일
Brings me closer, but the authors call it mathematical expectation.
X=[1 2 -1 5 2]', and
I use x*x', so I get a 5X5 matrix.
But what is a mathematical expectation here? and still the result should be a 5X5 matrix!
I assume 'mean(x*x')' is not right!
Or E{x*x'}=x*x'? In my example, x is a vector having complex exponential.
Please advice
Ibrahim ATA
Ibrahim ATA 2021년 11월 6일
So how to apply expectation operator ?

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


Gurudatha Pai
Gurudatha Pai 2012년 1월 6일
As you have given it, you are only calculating the outer-product and not the covariance. To calculate the covariance you need more information than one data point. The best information you could have is the probability density function of the random vector X. At the least you need to have many samples of the random vector to calculate the sample statistics and if you have enough number of samples, you may hope to (because there are other conditions) reach the true co-variance.
  댓글 수: 2
PChoppala
PChoppala 2012년 1월 6일
Yep, I have many samples for the vector(signal) x. Say x is a column vector of 100 or 1000 elements.
Then how?
Walter Roberson
Walter Roberson 2012년 1월 6일
See http://www.mathworks.com/help/toolbox/stats/corr.html
but note that what you need on input is (something) by 5 in order to get out a 5 x 5 result. If you are starting from a vector, you cannot get a 5 x 5 correlation matrix: your input needs to be the list of samples, one sample per row, one column per parameter.

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

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by