MATLAB program for the design of Chebyshev digital low pass filter using

6 ビュー (過去 30 日間)
Nishant k
Nishant k 2021 年 4 月 11 日
移動済み: Walter Roberson 2024 年 8 月 2 日
Write a MATLAB program for the design of Chebyshev digital low pass filter using the following specification:
0.9 ≤│H(ejw)│≤ 1 0 ≤ w ≤ 0.3π
│H(ejw)│≤ 0.15 0.5π ≤ w ≤ π

回答 (1 件)

Vishwa
Vishwa 2024 年 8 月 2 日

15. Write and execute a MATLAB program to design a Chebyshev digital IIR low pass filter using Impulse invariant transformation to satisfy the following specifications:

T = 1 sec; 0.9 <= H(e ^ (jw)) <= 1 ; for 0 <= omega <= 0.25pi H(e ^ (jw)) <= 0.24 for for 0.5pi <= omega <= pi

  1 件のコメント
Vishwa
Vishwa 2024 年 8 月 2 日
移動済み: Walter Roberson 2024 年 8 月 2 日
% Given specifications
T = 1; % Sampling period
Wp = 0.25 * pi; % Passband edge frequency
Ws = 0.5 * pi; %Stopband edge frequency
Rp = -20 * log10(0.9); % Passband ripple in dB
Rs = -20 * log10(0.24); % Stopband attenuation in dB
% Pre-warp the frequencies for the bilinear transformation
Wp_warped = 2 / T * tan(Wp / 2); Ws_warped = 2 / T * tan(Ws / 2);
% Calculate the analog filter order and cutoff frequency
[n, Wn] = cheb1ord(Wp_warped, Ws_warped, Rp, Rs, 's');
% Design the analog Chebyshev Type I filter
[z, p, k] = cheby1(n, Rp, Wn, 'low', 's');
% Convert to transfer function form
[bs, as] = zp2tf(z, p, k);
% Perform Impulse Invariant Transformation
[bd, ad] = impinvar(bs, as, 1 / T);
% Plot the frequency response of the digital filter
fvtool(bd, ad);
% Display the filter coefficients
bd
ad

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by