The received signal in a binary communication system that employs bipolar signals is r(t) = s(t) + n(t), where s(t) is shown in the figure below and n(t) is AWGN with power spectral density (W/Hz).
a) Determine the impulse response of the filter matched to s(t).
b) Determine the output of the matched filter when the input is s(t).
c) Determine the variance of the noise at the output of the matched filter.
d) Determine the probability of error as a function of A and N.
e) Write a MATLAB program to calculate and draw the waveform obtained from part (b). Assume A=1.
s(t)
3A 2
A
A 2
o
1
2
3
4
Figure 1.