takanaka kouzou
/
SDR_AM_Rx_CIC_FIR
AM中波放送用SDR.CICフィルタと通常のFIRフィルタを組み合わせて使用.CQ出版社「トランジスタ技術」誌に掲載予定
CoefficientsLpf.hpp@1:ca43ee5ea802, 2021-07-31 (annotated)
- Committer:
- tza
- Date:
- Sat Jul 31 09:11:29 2021 +0000
- Revision:
- 1:ca43ee5ea802
- Parent:
- 0:9c28f5905a1a
a
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}; |