Debian Codegraph @

Octave/Readme.md

raw symbols SCIP
1 # Generating Filter Coefficients
2
3 The scripts below are used in [GNU Octave][GNU Octave] which should be available
4 on most platforms including Linux, Mac and Windows.
5
6 On Debian and other Debian derived Linux distributions, Octave can be installed
7 using: `sudo apt install octave octave-signal`.
8
9 Filter coefficients can be generated as follows by running the `octave` command
10 in the same directory as the scripts and this Readme file:
11
12 ```
13 octave:1> pkg load signal
14 octave:2> f = make_filter (8, 128, 100.3) ;
15 # f = make_fip_filter (8, 128, 100.3) ;
16 # Coeff. count : 4922
17 # Fudge factor : 1.2018769
18 # Pass band width : 0.0039062499 (should be 0.0039062500)
19 # Stop band atten. : 100.71 dB
20 # -3dB band Width : 0.490
21 # half length : 2464
22 # increment : 128
23 ```
24
25 The parameters above generate the coefficient set used in `src/fastest_coeffs.h`.
26
27 [GNU Octave]: https://www.gnu.org/software/octave/