#include <iir_2ndhpf.h>
Collaboration diagram for SPUC::iir_2ndhpf< Numeric >:
Public Member Functions | |
iir_2ndhpf (Numeric A, Numeric B) | |
void | reset () |
void | print () |
Print out coefficients. | |
Numeric | clock (Numeric input) |
Input new sample and calculate output. | |
Protected Attributes | |
Numeric | b0 |
Numeric | b1 |
Numeric | b2 |
Numeric | a1 |
Numeric | a2 |
Numeric | in [3] |
Numeric | out [3] |
The filter is assumed to be a high pass 2nd order digital filter of the form
which becomes the form
in the "z" domain
|
|
|
Input new sample and calculate output.
|
|
Print out coefficients.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|