- #1

- 5

- 0

**Homework Statement**

1. Given two vectors

x = [0 0 1 0 0 ] and y = [0 0 0 0 1] find the cross correlation and the time difference between the pulses if the sampling frequency is 1kHz?

2. Given this vector calculate the auto correlation and if the signals is sampled at a frequency of 1MHz what does the signal correspond to in frequency

- x = {0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1}

**The attempt at a solution**

Cross correlation for problem 1:

[0 0 1 0 0 0 0 0 0]

Auto correlation for problem 2:

[0 0 1 2 1 0 2 4 2 0 3 6 3 0 2 4 2 0 1 2 1 0 0]

The thing I'm having a hard time about is finding the time difference for problem 1 and the corresponding frequency in problem 2. How do I approach that?