Use the sliders to set filter passband and stopband specifications. This is an interactive version of our notebook, see also the Modeling Cookbook or the JS source filter.js.

Finds a trigonometric cosine polynomial which is $$\delta$$-close to 1 on $$[0,w_p]$$ (passband) and as close as possible to 0 on $$[w_s,\pi]$$ (stopband).