expected value of matrix

29 次查看(过去 30 天)
rakesh kumar
rakesh kumar 2022-1-30
编辑: VBBV 2022-1-30
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
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
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
>>

请先登录,再进行评论。

类别

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