/* * Filter Coefficients (C Source) generated by the Filter Design and Analysis Tool * * Generated by MATLAB(R) 7.4 and the Signal Processing Toolbox 6.7. * * Generated on: 16-Oct-2007 14:07:20 * */ /* * Discrete-Time IIR Filter (real) * ------------------------------- * Filter Structure : Direct-Form II * Numerator Length : 17 * Denominator Length : 17 * Stable : Yes * Linear Phase : No */ /* General type conversion for MATLAB generated C-code */ #include "tmwtypes.h" /* * Expected path to tmwtypes.h * /Applications/MATLAB74/extern/include/tmwtypes.h */ /* * Warning - Filter coefficients were truncated to fit specified data type. * The resulting response may not match generated theoretical response. * Use the Filter Design & Analysis Tool to design accurate * single-precision filter coefficients. */ const int K = 17; const real32_T b[17] = { 0.02637508884, -0.2684200406, 1.406127572, -4.919650078, 12.74448109, -25.7611866, 41.87473297, -55.70187759, 61.20090866, -55.70187759, 41.87473297, -25.7611866, 12.74448109, -4.919650078, 1.406127572, -0.2684200406, 0.02637508884 }; const int M = 17; const real32_T a[17] = { 1, -6.001627922, 17.59556961, -34.23500443, 50.43220139, -59.91762924, 58.96073532, -48.63949585, 33.90638733, -20.0184536, 9.94792366, -4.109315872, 1.386744022, -0.3707956672, 0.07407803088, -0.00994219631,0.0007026441745 };