Write a MATLAB program that computes the overall impulse response of the cascade of any transmit…

Write a MATLAB program that computes the overall impulse response of the cascade of any transmit filter BT ( n) with its matched filter at the receiver. This computation may be performed by use of the DFT as follows. Pad gy(n) with N – 1 (or more) O's and compute the (2N – 1)-point (or more) DFf. This yields Gy(k). Then form IGT(k)l2 and compute the (2N – 1)-point inverse DFf of IGy(k)l2. Evaluate this overall impulse response for the filter in Problem 6. 10 and compare this result with the ideal impulse response obtained by sampling Xrc(t) at a rate F5 = 4/T.
Problem 6. 10
Write a MATLAB program that generates the sampled version of the transmit filter impulse response BT ( t) given by ( 6 .5 .9) for an arbitrary value of the roll off factor ex. Evaluate and plot BT(n)  
Also, evaluate and plot the magnitude of the frequency response characteristic for this filter. (Use a 4N-point DFf of BT(n) by padding BT(n) with 3N zeros.)