# We want to use the frequency-sampling method to design a highpass filter with specifications: ω

We want to use the frequency-sampling method to design a highpass filter with specifications: ω s = 0.5 π , ω p = 0.65 π , A s = 50 dB, and A p = 1 dB.

Choose M = 31 so that there are two samples in the transition band. Using a raised-cosine transition obtain the filter impulse response. Provide a plot of the log-magnitude and impulse responses. Does this design satisfy the given specifications?

Repeat (a) using the fir2 function and the Hamming window. Does this design satisfy the given specifications?

### Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now