/*
 * 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:50
 *
 */

/*
 * Discrete-Time IIR Filter (real)
 * -------------------------------
 * Filter Structure    : Direct-Form II, Second-Order Sections
 * Number of Sections  : 8
 * 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.
 */
#define MWSPT_NSEC 17
const int K[MWSPT_NSEC] = { 1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1 };
const real32_T b[MWSPT_NSEC][3] = {
  {
    0.02637508884,              0,              0 
  },
  {
                1,   -1.300429225,    1.031489015 
  },
  {
                1,              0,              0 
  },
  {
                1,   -1.279290676,    1.029239774 
  },
  {
                1,              0,              0 
  },
  {
                1,    -1.30409658,    1.013837337 
  },
  {
                1,              0,              0 
  },
  {
                1,   -1.255264997,    1.010095716 
  },
  {
                1,              0,              0 
  },
  {
                1,   -1.245194674,    0.971462369 
  },
  {
                1,              0,              0 
  },
  {
                1,   -1.262941957,   0.9710333347 
  },
  {
                1,              0,              0 
  },
  {
                1,   -1.242185593,   0.9869008064 
  },
  {
                1,              0,              0 
  },
  {
                1,   -1.287624955,   0.9879943132 
  },
  {
                1,              0,              0 
  }
};
const int M[MWSPT_NSEC] = { 1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1 };
const real32_T a[MWSPT_NSEC][3] = {
  {
                1,              0,              0 
  },
  {
                1,  -0.3739784658,  0.09269330651 
  },
  {
                1,              0,              0 
  },
  {
                1,  -0.1029600948,   0.2086798698 
  },
  {
                1,              0,              0 
  },
  {
                1,   -1.081459522,   0.3243970573 
  },
  {
                1,              0,              0 
  },
  {
                1,  0.06456488371,    0.424233973 
  },
  {
                1,              0,              0 
  },
  {
                1,   -1.367090821,   0.5375875831 
  },
  {
                1,              0,              0 
  },
  {
                1,   -1.568805456,   0.7173060179 
  },
  {
                1,              0,              0 
  },
  {
                1,   0.1808868945,   0.7606788278 
  },
  {
                1,              0,              0 
  },
  {
                1,   -1.752785325,   0.8998480439 
  },
  {
                1,              0,              0 
  }
};
