Calculation of autocorrelation matrix
66 次查看(过去 30 天)
显示 更早的评论
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..
0 个评论
采纳的回答
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).
0 个评论
更多回答(2 个)
Raviteja
2011-4-8
1 个评论
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
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,...!!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!