reinf6_1.m
来自「离散控制系统设计的MATLAB 代码」· M 代码 · 共 25 行
M
25 行
%%%%%%%%%%% Reinforcement Problem 6.1 %%%%%%%%%%%
% 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 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ---- Second-order Butterworth highpass filter ----
%
clear
disp('Reinforcement Problem 6.1')
Ts = 0.01
G = tf(0.2066*[1 -2 1],[1 0.3695 0.1958],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 + -
显示快捷键?