forked from DD4WH/Teensy-SDR-Rx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
iir_18.h
48 lines (37 loc) · 965 Bytes
/
iir_18.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// DD4WH LPF DC - 1.8 kHz
// (sampling rate 44.117 kHz)
// 19.11.2015
// Parameters generated using Iowa Hills IIR Filter Designer
// 8th order Inv Cheby Lowpass (4-stage cascaded biquad)
//
//
// coefficients must be in order: B0, B1, B2, A1, A0
// unlike output by Iowa Hils IIR Filter Designer !
const double IIR_18_Coeffs_0[] =
{ 0.588593506625137985,
-1.090926182879769610,
0.588593506625137985,
-1.427338275114299120,
0.513599105484805585
};
const double IIR_18_Coeffs_1[] =
{ 0.382265051089020314,
-0.687681842220833062,
0.382265051089020314,
-1.555795677703446730,
0.632643937660654299
};
const double IIR_18_Coeffs_2[] =
{ 0.159034432461012065,
-0.250658999244488701,
0.159034432461012065,
-1.717277645294771780,
0.784687510972307267
};
const double IIR_18_Coeffs_3[] =
{ 0.032598425578464235,
-0.001288965017620658,
0.032598425578464235,
-1.864412283394368600,
0.928320169533676576
};