aboutsummaryrefslogtreecommitdiffstats
path: root/lab5/RTDSP/Matlab/elliptical.m
diff options
context:
space:
mode:
authorymherklotz <ymherklotz@gmail.com>2018-02-28 13:19:47 +0000
committerymherklotz <ymherklotz@gmail.com>2018-02-28 13:19:47 +0000
commit1e04f2cde4b36d9af7988dcedb317de32938dc32 (patch)
tree428e68bd2963dfe318b5b27b98466d802319d071 /lab5/RTDSP/Matlab/elliptical.m
parentf769169f31213eda8364ae9e57f242cbca527c23 (diff)
downloadNoiseSilencer-1e04f2cde4b36d9af7988dcedb317de32938dc32.tar.gz
NoiseSilencer-1e04f2cde4b36d9af7988dcedb317de32938dc32.zip
Adding new matlab
Diffstat (limited to 'lab5/RTDSP/Matlab/elliptical.m')
-rw-r--r--lab5/RTDSP/Matlab/elliptical.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/lab5/RTDSP/Matlab/elliptical.m b/lab5/RTDSP/Matlab/elliptical.m
index 7b603c7..20a6fa2 100644
--- a/lab5/RTDSP/Matlab/elliptical.m
+++ b/lab5/RTDSP/Matlab/elliptical.m
@@ -1,6 +1,5 @@
-function [b,a] = elliptical (Fs)
+function [b,a] = elliptical (order, Fs)
-order = 4; % Order of the bandpass filter
startband = 270*2/Fs; % Normalised startband frequency
stopband = 450*2/Fs; % Normalised stopband frequency
ripple = 0.3; % The passband ripple (in dB)