0
$\begingroup$

I'm asked to design FIR filter, an ideal low pass filter.

I'm given with pass band frequency (wp) and stop band frequency (ws). Now, I have to choose Ns points from stop band and Np points from pass band. Taking the inverse will give me impulse response.

The problem is, Ns points are equally spaced and Np points are equally spaced. But the spacing of the points in pass band and stop band differ. How do I find the filter coefficients?

Thank you.

$\endgroup$

1 Answer 1

2
$\begingroup$

It is not a good idea to have Np and Ns as constraints, for the exact reason you mention- it will usually cause unequal spacing. Instead, make N, the total number of points, a constraint, and then you will have the equal spacing that you need.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.