fdacoefs.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Filter Coefficients (C Source) generated by the Filter Design and Analysis Tool
  3. * Generated by MATLAB(R) 9.9 and Signal Processing Toolbox 8.5.
  4. * Generated on: 11-Oct-2022 16:55:54
  5. */
  6. /*
  7. * 离散时间 FIR 滤波器(实数)
  8. * ----------------
  9. * 滤波器结构 : 直接型 FIR
  10. * 滤波器长度 : 16
  11. * 稳定 : 是
  12. * 线性相位 : 是 (Type 2)
  13. */
  14. /* General type conversion for MATLAB generated C-code */
  15. #include "tmwtypes.h"
  16. /*
  17. * Expected path to tmwtypes.h
  18. * D:\Program Files\R2020b\extern\include\tmwtypes.h
  19. */
  20. /*
  21. * Warning - Filter coefficients were truncated to fit specified data type.
  22. * The resulting response may not match generated theoretical response.
  23. * Use the Filter Design & Analysis Tool to design accurate
  24. * single-precision filter coefficients.
  25. */
  26. const int BL = 16;
  27. const real32_T B[16] = {
  28. 0.007895005867, 0.01734124683, 0.03257999197, 0.05209516734, 0.07380001992,
  29. 0.09460353851, 0.1110314056, 0.1201113388, 0.1201113388, 0.1110314056,
  30. 0.09460353851, 0.07380001992, 0.05209516734, 0.03257999197, 0.01734124683,
  31. 0.007895005867
  32. };