takanaka kouzou
/
SDR_AM_Rx_CIC_FIR
AM中波放送用SDR.CICフィルタと通常のFIRフィルタを組み合わせて使用.CQ出版社「トランジスタ技術」誌に掲載予定
CoefficientsLpf.hpp@0:9c28f5905a1a, 2020-08-29 (annotated)
- Committer:
- MikamiUitOpen
- Date:
- Sat Aug 29 11:25:01 2020 +0000
- Revision:
- 0:9c28f5905a1a
1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MikamiUitOpen | 0:9c28f5905a1a | 1 | //------------------------------------------------------------------------ |
MikamiUitOpen | 0:9c28f5905a1a | 2 | // Decimation 用フィルタ,2 段目 |
MikamiUitOpen | 0:9c28f5905a1a | 3 | // |
MikamiUitOpen | 0:9c28f5905a1a | 4 | // 2020/07/23, Copyright (c) 2020 MIKAMI, Naoki |
MikamiUitOpen | 0:9c28f5905a1a | 5 | //------------------------------------------------------------------------ |
MikamiUitOpen | 0:9c28f5905a1a | 6 | |
MikamiUitOpen | 0:9c28f5905a1a | 7 | // 標本化周波数 (kHz) 100.000000 |
MikamiUitOpen | 0:9c28f5905a1a | 8 | // 次数 50 |
MikamiUitOpen | 0:9c28f5905a1a | 9 | // 帯域 1 帯域 2 |
MikamiUitOpen | 0:9c28f5905a1a | 10 | // 下側帯域端周波数 (kHz) 0.000000 12.500000 |
MikamiUitOpen | 0:9c28f5905a1a | 11 | // 上側帯域端周波数 (kHz) 7.500000 50.000000 |
MikamiUitOpen | 0:9c28f5905a1a | 12 | // 利得 1.000000 0.000000 |
MikamiUitOpen | 0:9c28f5905a1a | 13 | // 重み 1.000000 10.000000 |
MikamiUitOpen | 0:9c28f5905a1a | 14 | // 偏差 0.013299 0.001330 |
MikamiUitOpen | 0:9c28f5905a1a | 15 | // 偏差 [dB] 0.114754 -57.523511 |
MikamiUitOpen | 0:9c28f5905a1a | 16 | const int ORDER_FIR_ = 50; |
MikamiUitOpen | 0:9c28f5905a1a | 17 | const float HN_[ORDER_FIR_/2+1] = { |
MikamiUitOpen | 0:9c28f5905a1a | 18 | 1.414112E-03f, 1.777859E-03f, 1.955856E-03f, 1.163382E-03f, |
MikamiUitOpen | 0:9c28f5905a1a | 19 | -8.047561E-04f, -3.639701E-03f, -6.438639E-03f, -7.901061E-03f, |
MikamiUitOpen | 0:9c28f5905a1a | 20 | -6.803443E-03f, -2.615442E-03f, 3.991907E-03f, 1.102213E-02f, |
MikamiUitOpen | 0:9c28f5905a1a | 21 | 1.558870E-02f, 1.488489E-02f, 7.415483E-03f, -5.952321E-03f, |
MikamiUitOpen | 0:9c28f5905a1a | 22 | -2.159831E-02f, -3.371720E-02f, -3.583729E-02f, -2.289379E-02f, |
MikamiUitOpen | 0:9c28f5905a1a | 23 | 6.796584E-03f, 5.037598E-02f, 1.006114E-01f, 1.474710E-01f, |
MikamiUitOpen | 0:9c28f5905a1a | 24 | 1.807161E-01f, 1.927341E-01f}; |