diff options
author | ymherklotz <ymherklotz@gmail.com> | 2018-02-27 10:15:32 +0000 |
---|---|---|
committer | ymherklotz <ymherklotz@gmail.com> | 2018-02-27 10:15:32 +0000 |
commit | fc9d835a3db90d11ecf6f0a072700c7c508fc2a2 (patch) | |
tree | 05c99d663f457de5f9f5c92a55994850df0e5753 /lab5/RTDSP/Matlab/gen_filter.m | |
parent | 9b4767c534111c4a261bc619316cbfd9c199517e (diff) | |
download | NoiseSilencer-fc9d835a3db90d11ecf6f0a072700c7c508fc2a2.tar.gz NoiseSilencer-fc9d835a3db90d11ecf6f0a072700c7c508fc2a2.zip |
Removed debug and fixed lab5 project
Diffstat (limited to 'lab5/RTDSP/Matlab/gen_filter.m')
-rw-r--r-- | lab5/RTDSP/Matlab/gen_filter.m | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lab5/RTDSP/Matlab/gen_filter.m b/lab5/RTDSP/Matlab/gen_filter.m index d6b5304..625aba1 100644 --- a/lab5/RTDSP/Matlab/gen_filter.m +++ b/lab5/RTDSP/Matlab/gen_filter.m @@ -1,6 +1,5 @@ Fs = 8000; -[b,a] = elliptical (Fs); -freqz(b, a); +b = m_filter; +freqz(b, 1, 1024, Fs); -%save filter_coeff_ell_b.txt b -ASCII -DOUBLE -TABS -%save filter_coeff_ell_a.txt a -ASCII -DOUBLE -TABS
\ No newline at end of file +save filter_coeff_correct.txt b -ASCII -DOUBLE -TABS
\ No newline at end of file |