36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/*
|
|
* Filter Coefficients (C Source) generated by the Filter Design and Analysis Tool
|
|
* Generated by MATLAB(R) 9.11 and DSP System Toolbox 9.13.
|
|
* Generated on: 04-May-2022 20:48:48
|
|
*/
|
|
|
|
/*
|
|
* Discrete-Time FIR Filter (real)
|
|
* -------------------------------
|
|
* Filter Structure : Direct-Form FIR
|
|
* Filter Length : 15
|
|
* Stable : Yes
|
|
* Linear Phase : Yes (Type 1)
|
|
* Arithmetic : fixed
|
|
* Numerator : s16,14 -> [-2 2)
|
|
* Input : s16,15 -> [-1 1)
|
|
* Filter Internals : Full Precision
|
|
* Output : s33,29 -> [-8 8) (auto determined)
|
|
* Product : s31,29 -> [-2 2) (auto determined)
|
|
* Accumulator : s33,29 -> [-8 8) (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
|
|
* /home/mreenen/.local/MATLAB/R2021b/extern/include/tmwtypes.h
|
|
*/
|
|
const int BL = 15;
|
|
const int16_T B[15] = {
|
|
-2107, -3477, -2950, 0, 4917, 10430, 14751, 16384, 14751,
|
|
10430, 4917, 0, -2950, -3477, -2107
|
|
};
|