zex.m
来自「Programs for the book Advanced Engineeri」· M 代码 · 共 12 行
M
12 行
% ZEX.M Show the Z-plane and frequency response of the function
% H(z)=z/(z-.9)
% ZEX.M Show the Z-plane and frequency response of the function
% H(z)=z/(z-.9)
clear,clf
num=[1 0]; den=[1 -0.9]; % Define numerator and denominator of H(z)
subplot(2,2,1) % Keep plot small
figure(1)
zplane(num,den) % Draw the z-plane
figure(2)
freqz(num,den) % Plot frequency response
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?