필터 지우기
필터 지우기

howto calculate the covariance matrix?

조회 수: 2 (최근 30일)
Manoj Murali
Manoj Murali 2012년 2월 28일
hi, suppose Yi is a row matrix of size 1 X L with 'i' varrying from 1 to m.That is there are row matrices Y1,Y2,Y3...Ym. now using these matrices I hav to calculate the covariance matrix C as,
m
C=(1/m)sigma(Yi . (Yi)^T)
i=1
where the diemension of C must be L x L.
In the above equation I think 'T' is transpose.
Cud any one help me how to do this..??
  댓글 수: 1
Oleg Komarov
Oleg Komarov 2012년 2월 28일
Can you use the function cov?

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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by