I have a random vector alpha with mean zero and standard deviation one, I want to find the expected value of alpha *alpha transpose
E[alpha*alpha']
0.0994
0.3661
-0.2125
0.2839

 채택된 답변

VBBV
VBBV 2022년 1월 30일

0 개 추천

alpha = [0.0994
0.3661
-0.2125
0.2839]
alpha = 4×1
0.0994 0.3661 -0.2125 0.2839
alpha.'
ans = 1×4
0.0994 0.3661 -0.2125 0.2839
E = alpha.*alpha.'
E = 4×4
0.0099 0.0364 -0.0211 0.0282 0.0364 0.1340 -0.0778 0.1039 -0.0211 -0.0778 0.0452 -0.0603 0.0282 0.1039 -0.0603 0.0806
Exp = mean(E) % expected value
Exp = 1×4
0.0133 0.0491 -0.0285 0.0381
Use mean function for your 4x4 matrix

댓글 수: 2

rakesh kumar
rakesh kumar 2022년 1월 30일
Dear VBBV,
I have read that if alpha is a random vector then Expectation of [alpha*transpose(alpha)] gives covariance matrix which in this case should be a 4 by 4 matrix. yours answer calucalate the mean of column vector.
VBBV
VBBV 2022년 1월 30일
편집: VBBV 2022년 1월 30일
Refer this link for expected value.
You can evaluate covariance using expected value. But your question is related to expected value (which is obtained by taking mean of values ) and not that of covariance.

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

추가 답변 (1개)

KSSV
KSSV 2022년 1월 30일

0 개 추천

a = [ 0.0994
0.3661
-0.2125
0.2839] ;
E = a'*a
E = 0.2697

댓글 수: 1

rakesh kumar
rakesh kumar 2022년 1월 30일
dear kssv i want to find the expected value of alpha* alpha transpose which is a matrix given below. I want the expected value of it.
alpha* alpha'= 0.0099 0.0364 -0.0211 0.0282
0.0364 0.1340 -0.0778 0.1039
-0.0211 -0.0778 0.0452 -0.0603
0.0282 0.1039 -0.0603 0.0806
>>

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

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2022년 1월 30일

편집:

2022년 1월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by