#include <iir_hpc.h>
Collaboration diagram for SPUC::iir_hpc< Numeric >:

Public Member Functions | |
| iir_hpc (double A=0) | |
| void | set_coeff (double A) |
| iir_hpc (const char *file) | |
| Constructor reading coefficient from a file. | |
| void | print () |
| Print out coefficients. | |
| Numeric | clock (Numeric input) |
| Input new sample and calculate output. | |
| void | reset () |
| Reset. | |
Protected Attributes | |
| double | gain |
| double | coeff |
| Numeric | out |
| Numeric | previous_out |
| Numeric | previous_in |
Template for 1st Order IIR filter
The filter is assumed the first order high pass digital filter generated by the bilinear transform of a first order analog filter
.
where a is real and |a| < 1 Note: Not normalized
|
||||||||||
|
Here is the call graph for this function: ![]() |
|
||||||||||
|
Constructor reading coefficient from a file.
Here is the call graph for this function: ![]() |
|
||||||||||
|
Input new sample and calculate output. Shift previous outputs and calculate new output */ |
|
||||||||||
|
Print out coefficients.
|
|
||||||||||
|
Reset.
|
|
||||||||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.4.4