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

📄 fdacoefs.h

📁 TMS320F2812的滤波库及其测试程序
💻 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: 23-May-2007 17:50:57
 *
 */

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

/* General type conversion for MATLAB generated C-code  */
#include "tmwtypes.h"
/* 
 * Expected path to tmwtypes.h 
 * D:\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
 *   int16 filter coefficients.
 */
#define MWSPT_NSEC 13
const int NL[MWSPT_NSEC] = { 1,3,1,3,1,3,1,3,1,3,1,3,1 };
const int16_T NUM[MWSPT_NSEC][3] = {
  {
    25795,      0,      0 
  },
  {
    32767, -32768,  32767 
  },
  {
    25795,      0,      0 
  },
  {
    32767, -32768,  32767 
  },
  {
    22119,      0,      0 
  },
  {
    32767, -32768,  32767 
  },
  {
    22119,      0,      0 
  },
  {
    32767, -32768,  32767 
  },
  {
    10379,      0,      0 
  },
  {
    32767, -32768,  32767 
  },
  {
    10379,      0,      0 
  },
  {
    32767, -32768,  32767 
  },
  {
    32767,      0,      0 
  }
};
const int DL[MWSPT_NSEC] = { 1,3,1,3,1,3,1,3,1,3,1,3,1 };
const int16_T DEN[MWSPT_NSEC][3] = {
  {
    32767,      0,      0 
  },
  {
    32767, -32768,  32422 
  },
  {
    32767,      0,      0 
  },
  {
    32767, -32768,  32470 
  },
  {
    32767,      0,      0 
  },
  {
    32767, -32768,  31453 
  },
  {
    32767,      0,      0 
  },
  {
    32767, -32768,  31637 
  },
  {
    32767,      0,      0 
  },
  {
    32767, -32768,  29881 
  },
  {
    32767,      0,      0 
  },
  {
    32767, -32768,  30135 
  },
  {
    32767,      0,      0 
  }
};

⌨️ 快捷键说明

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