/* * Filter Coefficients (C Source) generated by the Filter Design and Analysis Tool * Generated by MATLAB(R) 9.13 and Signal Processing Toolbox 9.1. * Generated on: 09-Dec-2024 10:57:55 */ /* * 离散时间 FIR 滤波器(实数) * ---------------- * 滤波器结构 : 直接型 FIR * 滤波器长度 : 4 * 稳定 : 是 * 线性相位 : 是 (Type 2) */ /* General type conversion for MATLAB generated C-code */ // #include "tmwtypes.h" /* * Expected path to tmwtypes.h * C:\Program Files\MATLAB\R2022b\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 = 4; // const real32_T B[4] = { // 0.178709805, 0.3671073616, 0.3671073616, 0.178709805 // };