reinf6_2.m

来自「离散控制系统设计的MATLAB 代码」· M 代码 · 共 25 行

M
25
字号
%%%%%%%%%%% Reinforcement Problem 6.2 %%%%%%%%%%%
%   Discrete-Time Control Problems using        %
%       MATLAB and the Control System Toolbox   %
%   by J.H. Chow, D.K. Frederick, & N.W. Chbat  %
%         Brooks/Cole Publishing Company        %
%                September 2002                 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%   ---- Fourth-order Chebyshev I bandpass filter ----
%
clear
disp('Reinforcement Problem 6.2')

Ts = 0.01
G = tf(0.0931*[1 0 -2 0 1],[1 0 1.0349 0 0.4293],Ts)
zz = tzero(G)
pp = pole(G);
[magp,thetap] = xy2p(pp);
dcgain(G)

figure
ucircle,axis equal,hold on
pzmap(G),hold off

figure,bode(G)
%%%%%%%%%%

⌨️ 快捷键说明

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