フィルターのクリア

Calculation of autocorrelation matrix

41 ビュー (過去 30 日間)
Raviteja
Raviteja 2011 年 4 月 2 日
I want to calculate autocorrelation matrix of a give sequence in matlab.
Which command I have to use ?
>> x=[-2 1 4 2 1 5 4 2 4]
>> z=autocorr(x)
I am getting auto correlated values in a vector form.
I want to calculate Rxx which is a matrix. Suppose if the length of the vector ix N I have to get N X N matrix.
I tried corrmtx( ) but not worked.
Please some one answer my question..

採用された回答

Matt Fig
Matt Fig 2011 年 4 月 2 日
I don't have the econometrics toolbox, but from this:
it looks like you might be able to build it by using the vector and the TOEPLITZ function (or cousins).

その他の回答 (2 件)

Raviteja
Raviteja 2011 年 4 月 8 日
First find autocorrelation by
>>z=autocorr(x)
Then find its toeplitz matrix
>>Rxx=toeplitz(z)
You get autocorrelation matrix Rxx
  1 件のコメント
Sravan Kumar Dodla
Sravan Kumar Dodla 2012 年 3 月 12 日
Could you just look into it??
Using autocorr is correct here or to use xcorr is correct??
Just try in MATLAB..!!!
Than we can use Toeplitz,...!!

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


Sravan Kumar Dodla
Sravan Kumar Dodla 2012 年 3 月 12 日
Could you just look into it??
Using autocorr is correct here or to use xcorr is correct?? Just try in MATLAB..!!! Than we can use Toeplitz,...!!

カテゴリ

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