add test5
This commit is contained in:
@@ -42,7 +42,18 @@ protected:
|
||||
Filt y;
|
||||
Filt x;
|
||||
public:
|
||||
/**
|
||||
* Create IIR filter from coefficients 'b' and 'a' (numerator and denominator polynomial coefficients).
|
||||
*/
|
||||
IirFilter(std::vector<double> b, std::vector<double> a);
|
||||
|
||||
/**
|
||||
* Create Butterworth lowpass filter.
|
||||
* @param N order of Butterworth filter
|
||||
* @param fc cutoff frequency in Hz
|
||||
* @param fs sampling rate in Hz
|
||||
*/
|
||||
IirFilter(int N, double fc, double fs);
|
||||
double filter(double val);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user