elliptic.m

来自「经典《信号与系统》教程的matlab例程,对深入理解信号与系统相关概念有很大帮助」· M 代码 · 共 12 行

M
12
字号
% The step response and the impulse response of an ideal lowpass filter
% Name:stepres

clear,close all
wn=0.4;ws=0.6;
Rp=1;Rs=25;
%[N,wn]=ellipord(wp,ws,Rp,Rs);
[b,a]=ellip(5,Rp,Rs,wn);
[h,omega]=freqz(b,a);
plot(omega/0.001,abs(h));grid on,
title('The frequency response of an Elliptic filter')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?