フィルターのクリア

corrcoef function of MATLAB

2 ビュー (過去 30 日間)
rihab
rihab 2015 年 9 月 28 日
回答済み: Steven Lord 2015 年 9 月 28 日
I am finding the cross correlation coefficient of two complex signals by using corrcoef function of MATLAB. The signals are vectors of dimension 1 x 1000 but by using corrcoef I am getting a matrix of size 2 x 2, say
1.0000 + 0.0000i 0.0121 - 0.0455i
0.0121 + 0.0455i 1.0000 + 0.0000i
I am unable to understand the logic behind the generation of 2 x 2 matrix after corrcoef function. Even MATLAB documentation has no information regarding this. I would be thankful if anyone provides me explanation about the meaning of this matrix!

回答 (2 件)

Walter Roberson
Walter Roberson 2015 年 9 月 28 日
Two columns, a 2 x 2 output covariance matrix.
  1 件のコメント
rihab
rihab 2015 年 9 月 28 日
okay, but could you please tell what the row and column elements correspond to? No matter what the signals are, one diagonal of the covariance matrix has always 'ones' and the second diagonal has 'non zero' values.

サインインしてコメントする。


Steven Lord
Steven Lord 2015 年 9 月 28 日
Take a look at the description of the R output argument and the More About section of the documentation page for CORRCOEF.

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by