examples/filterdemo/README
raw| 1 | The filterdemo computes a FIR lowpass filter by solving a linear program. |
| 2 | It solves a discretization of the problem |
| 3 | |
| 4 | minimize d2 |
| 5 | subject to -1/d1 <= H(wk) <= d1, 0 <= w <= wc |
| 6 | max(abs(H(wk))) <= d2, ws <= w <= pi |
| 7 | |
| 8 | where H(w) = h_0 + sum_{i=1}^{n-1} h_i*cos(2*pi/n*i*w). |
| 9 | The variables are h and d2. |
| 10 | |
| 11 | 'filterdemo_cli' uses a simple a simple command-line interface. |
| 12 | 'filterdemo_gui' uses a graphical user interface based on GTK. |