reinf5_14.m

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

M
22
字号
%%%%%%%%%% Reinforcement Problem 5.14 %%%%%%%%%%%
%   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                 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
disp('Reinforcement Problem 5.14')

Hs = tf(20,[1 20])
Ts = 0.1
Gs = tf(10,conv([1 0],[1 10]))  % from P5.12
Kz = tf([1 -0.5],[1 -0.8],0.1)
Gz = c2d(Gs,Ts,'zoh')
HGz = c2d(Hs*Gs,Ts,'zoh')
Gcl = Gz*Kz/(1+HGz*Kz)
Gcl = minreal(Gcl)
pCL = pole(Gcl)
abs(pCL)
angle(pCL)
%%%%%%%%%%

⌨️ 快捷键说明

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