/* * 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: 15-Oct-2007 15:52:05 * */ /* * Discrete-Time FIR Filter (real) * ------------------------------- * Filter Structure : Direct-Form FIR * Filter Length : 9 * Stable : Yes * Linear Phase : Yes (Type 1) */ /* 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 N = 9; const real32_T h[9] = { -0.1023719087, -0.1869270355, -0.09111583978, 0.1595525444, 0.2989022136, 0.1595525444, -0.09111583978, -0.1869270355, -0.1023719087 };