function Hd = designed_sexy %DESIGNED_SEXY Returns a discrete-time filter object. % MATLAB Code % Generated by MATLAB(R) 9.8 and Signal Processing Toolbox 8.4. % Generated on: 28-Dec-2020 08:55:51 % Butterworth Lowpass filter designed using FDESIGN.LOWPASS. % All frequency values are in Hz. Fs = 44100; % Sampling Frequency Fpass = 3200; % Passband Frequency Fstop = 6900; % Stopband Frequency Apass = 1; % Passband Ripple (dB) Astop = 80; % Stopband Attenuation (dB) match = 'stopband'; % Band to match exactly % Construct an FDESIGN object and call its BUTTER method. h = fdesign.lowpass(Fpass, Fstop, Apass, Astop, Fs); Hd = design(h, 'butter', 'MatchExactly', match); % [EOF]