aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lab5/Images/circ_fir.PNGbin58862 -> 0 bytes
-rw-r--r--lab5/Images/circ_phase.PNGbin91461 -> 0 bytes
-rw-r--r--lab5/Images/correct_filter_image.jpgbin30631 -> 0 bytes
-rw-r--r--lab5/Images/non_circ_fir.PNGbin57747 -> 0 bytes
-rw-r--r--lab5/Images/zplane_plot.jpgbin24267 -> 0 bytes
-rw-r--r--lab5/RTDSP/Matlab/elliptical.m20
6 files changed, 10 insertions, 10 deletions
diff --git a/lab5/Images/circ_fir.PNG b/lab5/Images/circ_fir.PNG
deleted file mode 100644
index 8fc03e4..0000000
--- a/lab5/Images/circ_fir.PNG
+++ /dev/null
Binary files differ
diff --git a/lab5/Images/circ_phase.PNG b/lab5/Images/circ_phase.PNG
deleted file mode 100644
index 88066cf..0000000
--- a/lab5/Images/circ_phase.PNG
+++ /dev/null
Binary files differ
diff --git a/lab5/Images/correct_filter_image.jpg b/lab5/Images/correct_filter_image.jpg
deleted file mode 100644
index 4fa6257..0000000
--- a/lab5/Images/correct_filter_image.jpg
+++ /dev/null
Binary files differ
diff --git a/lab5/Images/non_circ_fir.PNG b/lab5/Images/non_circ_fir.PNG
deleted file mode 100644
index 9a4583a..0000000
--- a/lab5/Images/non_circ_fir.PNG
+++ /dev/null
Binary files differ
diff --git a/lab5/Images/zplane_plot.jpg b/lab5/Images/zplane_plot.jpg
deleted file mode 100644
index f39d89a..0000000
--- a/lab5/Images/zplane_plot.jpg
+++ /dev/null
Binary files differ
diff --git a/lab5/RTDSP/Matlab/elliptical.m b/lab5/RTDSP/Matlab/elliptical.m
index 619944e..7b603c7 100644
--- a/lab5/RTDSP/Matlab/elliptical.m
+++ b/lab5/RTDSP/Matlab/elliptical.m
@@ -1,10 +1,10 @@
-function [b,a] = elliptical (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)
-stopband_atten = 20; % The stopband attenuation (in dB)
-
-% Call the eliptical filter function
-[b,a] = ellip(order/2,ripple,stopband_atten,[startband, stopband]);
+function [b,a] = elliptical (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)
+stopband_atten = 20; % The stopband attenuation (in dB)
+
+% Call the eliptical filter function
+[b,a] = ellip(order/2,ripple,stopband_atten,[startband, stopband]);