离散系统的响应

来源:互联网 发布:mysql安装教程 图解 编辑:程序博客网 时间:2024/06/06 01:26

滑动平均系统
系统的表达式
H(ejw)=1M2+11ejw(M2+1)1ejw

clcclearsyms w M2y=1/(M2+1)*exp(-j*w*M2/2)*sin((M2+1)*w/2)/(sin(w/2));y=subs(y,M2,4);subplot(1,2,1)ezplot(abs(y),[-2*pi 2*pi]);title(['$' 'H(w)=' '$''$' latex(y) '$'],'interpreter','latex')grid onsubplot(1,2,2)ezplot(angle(y),[-2*pi 2*pi]);title(['$' latex(angle(y)) '$'],'interpreter','latex')grid on

![频率响应]:

0 0
原创粉丝点击