The experiment using this program is introduced on "Interface" No.2, CQ publishing Co.,Ltd, 2015. 本プログラムを使った実験は,CQ出版社のインターフェース 2015年2月号で紹介しています.

Dependencies:   DSProcessingIO mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IIR_Coefficients.hpp Source File

IIR_Coefficients.hpp

00001 //--------------------------------------------------------------
00002 //  Coefficients for IIR filter, Order = 6
00003 //--------------------------------------------------------------
00004 // Lowpass filter
00005 // Elliptic character
00006 // Sampling frequency:      10.00 kHz
00007 // Cutoff frequency:         0.50 kHz
00008 // Ripples in passband:      0.50 dB
00009 // Attenuation in stopband: 40.00 dB
00010 
00011 #include "Biquad.hpp"
00012 
00013 using namespace Mikami;
00014 
00015 const int ORDER_ = 6;
00016 
00017 const Biquad::Coefs ck_[ORDER_/2] = {
00018     { 1.755914E+00f, -7.841154E-01f, -1.200026E+00f, 1.0f},
00019     { 1.834544E+00f, -9.093489E-01f, -1.822074E+00f, 1.0f},
00020     { 1.881858E+00f, -9.801108E-01f, -1.872779E+00f, 1.0f}};
00021 
00022 const float g0_ = 1.080597E-02f;