(a) Construct a signal plus noise random sequence using 10 samples of
![](https://test.transtutors.com/qimg/80a25daa-a299-4f30-af36-5bca43153f72.png)
Where N[n] is generated using randn in MATLAB and
Design a discrete-time matched filter for the cosine signal. Filter the signal plus noise sequence with the matched filter. At what sample value does the filter output peak.
(b) Construct a signal plus noise random sequence using 10 samples of the following ![](https://test.transtutors.com/qimg/4975a799-0298-4dc8-9574-b4ae262c8162.png)
Where
is generated using randn in MATLAB
Design a discrete-time matched filter for the cosine signal. Filter the signal plus noise sequence with the matched filter. At what sample value does the filter output peak.