2 Find cross correlation between 2 days Timeh 1 3 4 5 6 wms
2) Find cross correlation between 2 days
Time(h) 1 3 4 5 6
w(m/s) 9 10 11 12 13
Solution
t=[1 3 4 5 6]
t =
1 3 4 5 6
>> w=[9 10 11 12 13]
w =
9 10 11 12 13
correlation between two is computed as follows
>> y=xcorr(t,w)
y =
13.0000 51.0000 99.0000 156.0000 221.0000 194.0000 152.0000 105.0000 54.0000
![2) Find cross correlation between 2 days Time(h) 1 3 4 5 6 w(m/s) 9 10 11 12 13Solutiont=[1 3 4 5 6] t = 1 3 4 5 6 >> w=[9 10 11 12 13] w = 9 10 11 12 13 2) Find cross correlation between 2 days Time(h) 1 3 4 5 6 w(m/s) 9 10 11 12 13Solutiont=[1 3 4 5 6] t = 1 3 4 5 6 >> w=[9 10 11 12 13] w = 9 10 11 12 13](/WebImages/20/2-find-cross-correlation-between-2-days-timeh-1-3-4-5-6-wms-1044762-1761543285-0.webp)