Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating 2D autocorrelation matrix

Status
Not open for further replies.

Gravy1405

Electrical
Joined
Mar 13, 2005
Messages
1
Location
GB
Hi,

I would like to generate the autocorelation matrix of the signal:

Code:
x=randn(1,1000);

At the moment I am using::

Code:
Rxx=xcorr(x,'unbiased');

But this is only giving me a 1-dimensional autocorrelation sequence of size 1x1999(2N-1). But I would like the full 2D square autocorrelation matrix.

ie. Rxx = E{xxT} where T=transpose

Is this possible?

Thanks for your time,

Gravy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top