Title: Correlated and Uncorrelated Signals
1Correlated and Uncorrelated Signals
Problem we have two signals and
. How close are they to each other?
Example in a radar (or sonar) we transmit a
pulse and we expect a return
2Example Radar Return
Since we know what we are looking for, we keep
comparing what we receive with what we sent.
3Inner Product between two Signals
- We need a measure of how close two signals are
to each other. - This leads to the concepts of
- Inner Product
- Correlation Coefficient
4Inner Product
Problem we have two signals and
. How close are they to each other?
Define Inner Product between two signals of the
same length
Properties
for some constant C
if and only if
5How we measure similarity (correlation
coefficient)
Assume zero mean
Compute
Check the value
x,y strongly correlated
x,y uncorrelated
6Back to the Example with no return
NO Correlation!
7Back to the Example with return
Good Correlation!
8Inner Product in Matlab
Take two signals of the same length. Each one is
a vector
Row vector
Row vector
Define Inner Product between two vectors
conjugate, transpose
9Example
Take two signals
Then
Compute these
x,y are not correlated
10Example
Take two signals
Compute these
Then
x,y are strongly correlated
11Example
Take two signals
Then
Compute these
x,y are strongly correlated
12Typical Application Radar
Send a Pulse
and receive it back with noise, distortion
Problem estimate the time delay , ie detect
when we receive it.
13Use Inner Product
Slide the pulse sn over the received signal
and see when the inner product is maximum
14Use Inner Product
Slide the pulse xn over the received signal
and see when the inner product is maximum
if
15Matched Filter
Take the expression
Compare this, with the output of the following
FIR Filter
Then
16Matched Filter
This Filter is called a Matched Filter
The output is maximum when
i.e.
17Example
We transmit the pulse
shown below, with length
Max at n119
Received signal
18How do we choose a good pulse
We transmit the pulse
and we receive (ignore the noise for the time
being)
where
The term is called the autocorrelation of sn.
This characterizes the pulse.
19Example a square pulse
See a few values
20Compute it in Matlab
N20 data length sones(1,N) square
pulse rssxcorr(s) autocorr n-N1N-1
indices for plot stem(n,rss) plot
21Example Sinusoid
22Example Chirp
schirp(049,0,49,0.1)
23Example Pseudo Noise
srandn(1,50)
24Compare them
chirp
pseudonoise
cos
Two best!
25Detection with Noise
Now see with added noise
26White Noise
A first approximation of a disturbance is by
White Noise. White noise is such that any two
different samples are uncorrelated with each
other
27White Noise
The autocorrelation of a white noise signal tends
to be a delta function, ie it is always zero,
apart from when n0.
28White Noise and Filters
The output of a Filter
29White Noise
The output of a Filter
In other words the Power of the Noise at the
ouput is related to the Power of the Noise at the
input as
30Back to the Match Filter
At the peak
31Match Filter and SNR
At the peak
32Example
Transmit a Chirp of length N50 samples, with
SNR0dB
33Example
Transmit a Chirp of length N100 samples, with
SNR0dB
34Example
Transmit a Chirp of length N300 samples, with
SNR0dB