(a) Construct a signal plus noise random sequence using 10 samples of
![](https://test.transtutors.com/qimg/e9694932-221e-4cce-8a03-89474ac325f7.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/19f3bc8a-129a-4b13-a44b-8ddf0af23ae6.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.