This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
DSP/TP3_8/DiogoEliseu_TP3_8_butterworth_2nd_order_filter.m
2020-12-31 23:11:10 +00:00

22 lines
603 B
Matlab

function Hd = DiogoEliseu_TP3_8_final2
%DIOGOELISEU_TP3_8_FINAL2 Returns a discrete-time filter object.
% MATLAB Code
% Generated by MATLAB(R) 9.8 and Signal Processing Toolbox 8.4.
% Generated on: 31-Dec-2020 16:39:59
% Butterworth Bandpass filter designed using FDESIGN.BANDPASS.
% All frequency values are in Hz.
Fs = 44100; % Sampling Frequency
N = 2; % Order
Fc1 = 2850; % First Cutoff Frequency
Fc2 = 7150; % Second Cutoff Frequency
% Construct an FDESIGN object and call its BUTTER method.
h = fdesign.bandpass('N,F3dB1,F3dB2', N, Fc1, Fc2, Fs);
Hd = design(h, 'butter');
% [EOF]