If i am given two realizations of stochastic process how can i find correlation matrix?

1 view (last 30 days)
Let us say realizations are:
0.1 0.4 0.3 0.2 & 0.5 0.2 0.4 0.6
These two realizations are u(n). Where u(n) is input.

Answers (1)

the cyclist
the cyclist on 16 Mar 2013
I am not sure what you mean, but does this do what you want?
u1 = [0.1; 0.4; 0.3; 0.2];
u2 = [0.5; 0.2; 0.4; 0.6];
r = corr([u1,u2])

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!