aboutsummaryrefslogtreecommitdiffstats
path: root/lab5/RTDSP/Matlab/Untitled.m
diff options
context:
space:
mode:
Diffstat (limited to 'lab5/RTDSP/Matlab/Untitled.m')
-rw-r--r--lab5/RTDSP/Matlab/Untitled.m28
1 files changed, 0 insertions, 28 deletions
diff --git a/lab5/RTDSP/Matlab/Untitled.m b/lab5/RTDSP/Matlab/Untitled.m
deleted file mode 100644
index 53f0607..0000000
--- a/lab5/RTDSP/Matlab/Untitled.m
+++ /dev/null
@@ -1,28 +0,0 @@
-function Hd = Untitled
-%UNTITLED Returns a discrete-time filter object.
-
-% MATLAB Code
-% Generated by MATLAB(R) 9.2 and the Signal Processing Toolbox 7.4.
-% Generated on: 25-Jan-2018 15:27:40
-
-% Equiripple Bandpass filter designed using the FIRPM function.
-
-% All frequency values are in Hz.
-Fs = 8000; % Sampling Frequency
-
-N = 250; % Order
-Fstop1 = 355; % First Stopband Frequency
-Fpass1 = 415; % First Passband Frequency
-Fpass2 = 1200; % Second Passband Frequency
-Fstop2 = 1270; % Second Stopband Frequency
-Wstop1 = 1; % First Stopband Weight
-Wpass = 1; % Passband Weight
-Wstop2 = 1; % Second Stopband Weight
-dens = 20; % Density Factor
-
-% Calculate the coefficients using the FIRPM function.
-b = firpm(N, [0 Fstop1 Fpass1 Fpass2 Fstop2 Fs/2]/(Fs/2), [0 0 1 1 0 ...
- 0], [Wstop1 Wpass Wstop2], {dens});
-Hd = b;
-
-% [EOF]