⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dec4filter3.h

📁 各种工程计算的库函数
💻 H
📖 第 1 页 / 共 2 页
字号:
/*    Decimation filter for rate 4    Copyright (C) 2001 Jussi Laako    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA    Low pass FIR filter derived using FFT method with Kaiser window (493 terms).    Generated by SYSTOLIX Filter Synthesis at 23:25:37 on 10/12/00.    Specification:    F1 = 0.1125    F2 = 0.125    Passband Ripple = 0.1dB    Stopband Ripple = 96dB*/#ifdef _MSC_VER#pragma warning(disable:4305)#endifstatic const long lDec4FilterLen = 493l;static const float fDec4FilterGain =  1.0f;static const float fpDec4FilterCoeffs[] = {6.40238336930001E-07,4.39556482755848E-07,-1.46557230294007E-07,-8.60904214014514E-07,-1.26624844069931E-06,-9.9067099366122E-07,2.65972693627697E-19,1.28132471554208E-06,2.12182466193286E-06,1.87549693365384E-06,4.17381723985913E-07,-1.64954220233651E-06,-3.20133038180018E-06,-3.17484488900953E-06,-1.23909102302892E-06,1.84478838022162E-06,4.46227618569408E-06,4.9551581116011E-06,2.61623226784002E-06,-1.70320780495004E-06,-5.81403636161365E-06,-7.2545392129349E-06,-4.70791354464412E-06,1.01777192724507E-06,7.10742535358304E-06,1.00666715247575E-05,7.6674794587024E-06,4.5759774413432E-07,-8.12635052705486E-06,-1.3323479190434E-05,-1.16245923594751E-05,-2.99883538427597E-06,8.58288772021811E-06,1.68776908109094E-05,1.666353654196E-05,6.89681519676643E-06,-8.11717428930513E-06,-2.04867671163368E-05,-2.27985232987246E-05,-1.24363736260239E-05,6.30346134588185E-06,2.37998956085167E-05,2.99472019695003E-05,1.9869330287801E-05,-2.6634979197296E-06,-2.63499158370287E-05,-3.79040048996513E-05,-2.93820481783074E-05,-3.3118733829897E-06,2.75520909420535E-05,4.63153397715383E-05,4.10586095403252E-05,1.21324472453503E-05,-2.67115611878203E-05,-5.46589560254059E-05,-5.48412460531906E-05,-2.42697841188446E-05,2.3041086417392E-05,6.22300178411755E-05,7.04902146512417E-05,4.01104372405352E-05,-1.56902978982432E-05,-6.81364816703167E-05,-8.75458124166783E-05,-5.99026772591586E-05,3.78713708210637E-06,7.13062740096694E-05,1.05295632389624E-04,8.36988425727932E-05,1.3508528247942E-05,-7.05084752316741E-05,-1.22750433914422E-04,-1.11296158495303E-04,-3.69399269813221E-05,6.43902282787352E-05,1.38632096867165E-04,1.42179519200197E-04,6.70787546453362E-05,-5.15304095127569E-05,-1.51377015985964E-04,-1.75470260447299E-04,-1.04243527471421E-04,3.05102390883682E-05,1.59157946461372E-04,2.09885316691416E-04,1.48414470278684E-04,-2.52498996062069E-17,-1.59926724300016E-04,-2.43711306151564E-04,-1.99149323014442E-04,-4.11400778348652E-05,1.51479458744656E-04,2.74797982884279E-04,2.55505145267349E-04,9.37478734715767E-05,-1.31544749266922E-04,-3.00575108754626E-04,-3.15971690143865E-04,-1.58240619890159E-04,9.78942529322414E-05,3.18096118255232E-04,3.78422152497988E-04,2.34494641237039E-04,-4.84735718322851E-05,-3.24110980580585E-04,-4.40087025519279E-04,-3.21729774546235E-04,-1.84499883410647E-05,3.15169430340972E-04,4.97556392029889E-04,4.18405318452348E-04,1.04127640213473E-04,-2.87754284331237E-04,-5.46815217992482E-04,-5.22134696364848E-04,-2.09163469303448E-04,2.3844294910505E-04,5.83315111469596E-04,6.29626005996635E-04,3.33350182221943E-04,-1.64093531805519E-04,-6.0208458841433E-04,-7.36655211959496E-04,-4.75514338771727E-04,6.20502875618733E-05,5.97878197580027E-04,8.38077904277503E-04,6.33379627403095E-04,6.96384267784911E-05,-5.65362972661234E-04,-9.27884296992978E-04,-8.03456784235917E-04,-2.31997863525017E-04,4.99338692371469E-04,9.99300506100823E-04,9.80968316904397E-04,4.24909441725918E-04,-3.94986446806535E-04,-1.04493717842031E-03,-1.15981524530298E-03,-6.46907914219135E-04,2.48138151601754E-04,1.05698432010345E-03,1.33259160451845E-03,8.95002966653549E-04,-5.55580478724743E-05,-1.02744879377319E-03,-1.49065048709763E-03,-1.16453453340273E-03,-1.84773994055346E-04,9.48428532119262E-04,1.62422297048718E-03,1.44906991950672E-03,4.7338825721157E-04,-8.12415179796648E-04,-1.72258843639757E-03,-1.74034891675563E-03,-8.09071009281114E-04,6.12614756021722E-04,1.77429160630724E-03,2.02828045628499E-03,1.18864066184487E-03,-3.43274156114709E-04,-1.7673981513398E-03,-2.30099090429046E-03,-1.60676297644715E-03,1.35009320298213E-16,1.68977702073874E-03,2.54491980625838E-03,2.05581146125798E-03,4.19944409625155E-04,-1.52939365075574E-03,-2.74495357068889E-03,-2.52577532909073E-03,-9.17378360465003E-04,1.27459383927905E-03,2.88458096277923E-03,3.0042121332929E-03,1.49099299172532E-03,-9.14352987909941E-04,-2.94604578630493E-03,-3.47623497797338E-03,-2.13720301496546E-03,4.38458979259109E-04,2.91046069929616E-03,3.9245141396593E-03,2.85007140600967E-03,1.62412061193451E-04,-2.75782973373856E-03,-4.32925841888348E-03,-3.6213150048051E-03,-8.96781796733546E-04,2.46690199828278E-03,4.66811949162984E-03,4.44039586915652E-03,1.77269543433852E-03,-2.01473799338412E-03,-4.91592698464039E-03,-5.29469974987857E-03,-2.79840631554718E-03,1.37579864074386E-03,5.04410098373801E-03,6.16979934412867E-03,3.98361500349516E-03,-5.2023606259013E-04,-5.01947718715336E-03,-7.04979621402685E-03,-5.34160751188853E-03,-5.89189348656942E-04,4.80206296632392E-03,7.91773161231288E-03,6.89294233630279E-03,2.00266514409466E-03,-4.34079171486629E-03,-8.75605311897006E-03,-8.67199906926782E-03,-3.79361024953873E-03,3.56533443033022E-03,9.54712113582459E-03,1.07392537562682E-02,6.07869501985071E-03,-2.36956810753685E-03,-1.02737370639676E-02,-1.32061347034678E-02,-9.05987634484743E-03,5.75624893616754E-04,1.09196735270084E-02,1.62908660090246E-02,0.013122540254373,2.15336863375491E-03,-1.14701863915057E-02,-0.020462997478356,-1.91017618401558E-02,-6.56221333785433E-03,1.19124886230004E-02,2.69022121447658E-02,2.91871273467399E-02,1.47168864814322E-02,-1.22361672058026E-02,-3.95283568000463E-02,-5.14456338154507E-02,-3.53017895340215E-02,1.24335264053273E-02,8.32672684144886E-02,0.158614593419976,0.216050027304557,0.237497026073657,0.216050027304557,0.158614593419976,8.32672684144886E-02,1.24335264053273E-02,-3.53017895340215E-02,-5.14456338154507E-02,-3.95283568000463E-02,-1.22361672058026E-02,1.47168864814322E-02,2.91871273467399E-02,2.69022121447658E-02,1.19124886230004E-02,-6.56221333785433E-03,-1.91017618401558E-02,-0.020462997478356,-1.14701863915057E-02,2.15336863375491E-03,0.013122540254373,1.62908660090246E-02,1.09196735270084E-02,5.75624893616754E-04,-9.05987634484743E-03,-1.32061347034678E-02,-1.02737370639676E-02,-2.36956810753685E-03,6.07869501985071E-03,1.07392537562682E-02,9.54712113582459E-03,3.56533443033022E-03,-3.79361024953873E-03,-8.67199906926782E-03,-8.75605311897006E-03,-4.34079171486629E-03,2.00266514409466E-03,6.89294233630279E-03,7.91773161231288E-03,4.80206296632392E-03,-5.89189348656942E-04,-5.34160751188853E-03,-7.04979621402685E-03,-5.01947718715336E-03,-5.2023606259013E-04,3.98361500349516E-03,6.16979934412867E-03,5.04410098373801E-03,1.37579864074386E-03,-2.79840631554718E-03,-5.29469974987857E-03,-4.91592698464039E-03,-2.01473799338412E-03,1.77269543433852E-03,4.44039586915652E-03,4.66811949162984E-03,2.46690199828278E-03,-8.96781796733546E-04,-3.6213150048051E-03,-4.32925841888348E-03,-2.75782973373856E-03,1.62412061193451E-04,2.85007140600967E-03,3.9245141396593E-03,2.91046069929616E-03,4.38458979259109E-04,-2.13720301496546E-03,-3.47623497797338E-03,-2.94604578630493E-03,-9.14352987909941E-04,1.49099299172532E-03,3.0042121332929E-03,2.88458096277923E-03,1.27459383927905E-03,-9.17378360465003E-04,-2.52577532909073E-03,-2.74495357068889E-03,-1.52939365075574E-03,4.19944409625155E-04,2.05581146125798E-03,2.54491980625838E-03,1.68977702073874E-03,1.35009320298213E-16,-1.60676297644715E-03,-2.30099090429046E-03,-1.7673981513398E-03,-3.43274156114709E-04,1.18864066184487E-03,2.02828045628499E-03,1.77429160630724E-03,6.12614756021722E-04,-8.09071009281114E-04,-1.74034891675563E-03,-1.72258843639757E-03,-8.12415179796648E-04,4.7338825721157E-04,1.44906991950672E-03,1.62422297048718E-03,9.48428532119262E-04,-1.84773994055346E-04,-1.16453453340273E-03,-1.49065048709763E-03,-1.02744879377319E-03,-5.55580478724743E-05,8.95002966653549E-04,1.33259160451845E-03,1.05698432010345E-03,2.48138151601754E-04,-6.46907914219135E-04,-1.15981524530298E-03,-1.04493717842031E-03,-3.94986446806535E-04,4.24909441725918E-04,9.80968316904397E-04,9.99300506100823E-04,4.99338692371469E-04,-2.31997863525017E-04,-8.03456784235917E-04,-9.27884296992978E-04,-5.65362972661234E-04,6.96384267784911E-05,6.33379627403095E-04,8.38077904277503E-04,5.97878197580027E-04,6.20502875618733E-05,-4.75514338771727E-04,-7.36655211959496E-04,-6.0208458841433E-04,-1.64093531805519E-04,3.33350182221943E-04,6.29626005996635E-04,5.83315111469596E-04,2.3844294910505E-04,-2.09163469303448E-04,-5.22134696364848E-04,-5.46815217992482E-04,-2.87754284331237E-04,1.04127640213473E-04,4.18405318452348E-04,4.97556392029889E-04,3.15169430340972E-04,-1.84499883410647E-05,-3.21729774546235E-04,-4.40087025519279E-04,-3.24110980580585E-04,-4.84735718322851E-05,2.34494641237039E-04,3.78422152497988E-04,3.18096118255232E-04,9.78942529322414E-05,-1.58240619890159E-04,-3.15971690143865E-04,-3.00575108754626E-04,-1.31544749266922E-04,9.37478734715767E-05,2.55505145267349E-04,2.74797982884279E-04,1.51479458744656E-04,-4.11400778348652E-05,-1.99149323014442E-04,-2.43711306151564E-04,-1.59926724300016E-04,-2.52498996062069E-17,1.48414470278684E-04,2.09885316691416E-04,1.59157946461372E-04,3.05102390883682E-05,-1.04243527471421E-04,-1.75470260447299E-04,-1.51377015985964E-04,-5.15304095127569E-05,6.70787546453362E-05,1.42179519200197E-04,1.38632096867165E-04,6.43902282787352E-05,-3.69399269813221E-05,-1.11296158495303E-04,-1.22750433914422E-04,-7.05084752316741E-05,1.3508528247942E-05,8.36988425727932E-05,1.05295632389624E-04,7.13062740096694E-05,3.78713708210637E-06,-5.99026772591586E-05,-8.75458124166783E-05,-6.81364816703167E-05,-1.56902978982432E-05,4.01104372405352E-05,7.04902146512417E-05,6.22300178411755E-05,2.3041086417392E-05,-2.42697841188446E-05,-5.48412460531906E-05,-5.46589560254059E-05,-2.67115611878203E-05,1.21324472453503E-05,4.10586095403252E-05,4.63153397715383E-05,2.75520909420535E-05,-3.3118733829897E-06,-2.93820481783074E-05,-3.79040048996513E-05,-2.63499158370287E-05,-2.6634979197296E-06,1.9869330287801E-05,2.99472019695003E-05,2.37998956085167E-05,6.30346134588185E-06,-1.24363736260239E-05,-2.27985232987246E-05,-2.04867671163368E-05,-8.11717428930513E-06,6.89681519676643E-06,1.666353654196E-05,1.68776908109094E-05,8.58288772021811E-06,-2.99883538427597E-06,-1.16245923594751E-05,-1.3323479190434E-05,-8.12635052705486E-06,4.5759774413432E-07,7.6674794587024E-06,1.00666715247575E-05,7.10742535358304E-06,1.01777192724507E-06,-4.70791354464412E-06,-7.2545392129349E-06,-5.81403636161365E-06,-1.70320780495004E-06,2.61623226784002E-06,4.9551581116011E-06,4.46227618569408E-06,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -