3. For the following analog signal: xa(t) = 3sin(40Ï€t) +3cos(50Ï€t) which is sampled at a rate of 100 samples/second. a.Design an IIR digital filter that will pass the first component3sin(40Ï€t) with attenuation of less than 1 dB and suppress thesecond component 3cos(50Ï€t) at least 50 dB. The filter should bemonotonic in the passband and have ripple in the stopband. ( 2points ) b. Generate 500 samples of the sampled signal xa(t) at thegiven sampling rate and use the filter you designed to process thesampled signal using MATLAB’s â€filter†command. ( 1 point ) c. Plotthe original signal and the output signal in one window usingMATLAB’s subplot command ( in either a 1 X 2 arrangement or a 2 X 1arrangement. Remember to title all plots and label all axes.
PLEASE SOLVE USING MATLAB