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

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site