38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
/*
|
|
* Filter Coefficients (C Source) generated by the Filter Design and Analysis Tool
|
|
* Generated by MATLAB(R) 9.13 and DSP System Toolbox 9.15.
|
|
* Generated on: 25-May-2023 12:30:35
|
|
*/
|
|
|
|
/*
|
|
* Discrete-Time FIR Filter (real)
|
|
* -------------------------------
|
|
* Filter Structure : Direct-Form FIR
|
|
* Filter Length : 33
|
|
* Stable : Yes
|
|
* Linear Phase : Yes (Type 1)
|
|
* Arithmetic : fixed
|
|
* Numerator : s16,15 -> [-1 1)
|
|
* Input : s16,15 -> [-1 1)
|
|
* Filter Internals : Full Precision
|
|
* Output : s33,30 -> [-4 4) (auto determined)
|
|
* Product : s31,30 -> [-1 1) (auto determined)
|
|
* Accumulator : s33,30 -> [-4 4) (auto determined)
|
|
* Round Mode : No rounding
|
|
* Overflow Mode : No overflow
|
|
*/
|
|
|
|
/* 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
|
|
*/
|
|
const int BL = 33;
|
|
const int16_T B[33] = {
|
|
47, -54, 19, 293, 744, 1292, 1820, 2188, 2274,
|
|
1994, 1329, 337, -856, -2075, -3128, -3840, 27997, -3840,
|
|
-3128, -2075, -856, 337, 1329, 1994, 2274, 2188, 1820,
|
|
1292, 744, 293, 19, -54, 47
|
|
};
|