PKU-Millimeter-Wave-Radar-T.../生命体征检测demo/chebyshev_IIR2.m

28 lines
984 B
Matlab

function Hd = chebyshev_IIR2
%CHEBYSHEV_IIR 返回离散时间滤波器对象。
% MATLAB Code
% Generated by MATLAB(R) 9.10 and Signal Processing Toolbox 8.6.
% Generated on: 06-May-2022 09:49:00
% Chebyshev Type I Bandpass filter designed using FDESIGN.BANDPASS.
% All frequency values are in Hz.
Fs = 20; % Sampling Frequency
Fstop1 = 0.7; % First Stopband Frequency
Fpass1 = 0.8; % First Passband Frequency
Fpass2 = 1.9; % Second Passband Frequency
Fstop2 = 2; % Second Stopband Frequency
Astop1 = 40; % First Stopband Attenuation (dB)
Apass = 3; % Passband Ripple (dB)
Astop2 = 40; % Second Stopband Attenuation (dB)
match = 'passband'; % Band to match exactly
% Construct an FDESIGN object and call its CHEBY1 method.
h = fdesign.bandpass(Fstop1, Fpass1, Fpass2, Fstop2, Astop1, Apass, ...
Astop2, Fs);
Hd = design(h, 'cheby1', 'MatchExactly', match);
% [EOF]