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

📄 fdacoefs.h

📁 TM公司CCS平台上开发的IIR无限级数字滤波器程序。
💻 H
字号:
/*
 * Filter Coefficients (C Source) generated by the Filter Design and Analysis Tool
 *
 * Generated by MATLAB(R) 7.0.1 and the Signal Processing Toolbox 6.2.1.
 *
 * Generated on: 08-Nov-2007 21:16:34
 *
 */

/*
 * Discrete-Time IIR Filter (real)
 * -------------------------------
 * Filter Structure  : Direct-Form II, Second-Order Sections
 * Filter Order      : 13
 * Stable            : Yes
 * Linear Phase      : No
 */

/* General type conversion for MATLAB generated C-code  */
//#include "tmwtypes.h"
/* 
 * Expected path to tmwtypes.h 
 * C:\MATLAB701\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
 *   int8 filter coefficients.
 */
#define MWSPT_NSEC 15
const int NL[MWSPT_NSEC] = { 1,3,1,3,1,3,1,3,1,3,1,3,1,2,1 };
const int NUM[MWSPT_NSEC][3] = {
  {
      5,    0,    0 
  },
  {
    127,  127,  127 
  },
  {
      5,    0,    0 
  },
  {
    127,  127,  127 
  },
  {
      5,    0,    0 
  },
  {
    127,  127,  127 
  },
  {
      4,    0,    0 
  },
  {
    127,  127,  127 
  },
  {
      4,    0,    0 
  },
  {
    127,  127,  127 
  },
  {
      4,    0,    0 
  },
  {
    127,  127,  127 
  },
  {
     23,    0,    0 
  },
  {
    127,  127,    0 
  },
  {
    127,    0,    0 
  }
};
const int DL[MWSPT_NSEC] = { 1,3,1,3,1,3,1,3,1,3,1,3,1,2,1 };
const int DEN[MWSPT_NSEC][3] = {
  {
    127,    0,    0 
  },
  {
    127, -128,  116 
  },
  {
    127,    0,    0 
  },
  {
    127, -128,   95 
  },
  {
    127,    0,    0 
  },
  {
    127, -128,   79 
  },
  {
    127,    0,    0 
  },
  {
    127, -128,   68 
  },
  {
    127,    0,    0 
  },
  {
    127, -128,   60 
  },
  {
    127,    0,    0 
  },
  {
    127, -128,   55 
  },
  {
    127,    0,    0 
  },
  {
    127,  -83,    0 
  },
  {
    127,    0,    0 
  }
};

⌨️ 快捷键说明

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