| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- /*
- * Filter Coefficients (C Source) generated by the Filter Design and Analysis Tool
- * Generated by MATLAB(R) 9.9 and Signal Processing Toolbox 8.5.
- * Generated on: 28-Dec-2024 14:46:25
- */
- /*
- * 离散时间 FIR 滤波器(实数)
- * ----------------
- * 滤波器结构 : 直接型 FIR
- * 滤波器长度 : 51
- * 稳定 : 是
- * 线性相位 : 是 (Type 1)
- */
- /* General type conversion for MATLAB generated C-code */
- //#include "tmwtypes.h"
- /*
- * Expected path to tmwtypes.h
- * D:\Program Files\Polyspace\R2020b\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 BL = 51;
- const float B[51] = {
- -0.0009190982091, -0.00271769613,-0.002486952813, 0.003661438357, 0.0136509249,
- 0.01735116541, 0.00766530633,-0.006554719061,-0.007696784101, 0.006105459295,
- 0.01387391612,0.0003508617228, -0.01690892503,-0.008905642666, 0.01744112931,
- 0.02074504457, -0.0122964941, -0.03424086422,-0.001034529647, 0.04779030383,
- 0.02736303769, -0.05937951803, -0.08230702579, 0.06718690693, 0.3100151718,
- 0.4300478697, 0.3100151718, 0.06718690693, -0.08230702579, -0.05937951803,
- 0.02736303769, 0.04779030383,-0.001034529647, -0.03424086422, -0.0122964941,
- 0.02074504457, 0.01744112931,-0.008905642666, -0.01690892503,0.0003508617228,
- 0.01387391612, 0.006105459295,-0.007696784101,-0.006554719061, 0.00766530633,
- 0.01735116541, 0.0136509249, 0.003661438357,-0.002486952813, -0.00271769613,
- -0.0009190982091
- };
|