📄 reinf2_15.m
字号:
%%%%%%%%%%% Reinforcement Problem 2.15 %%%%%%%%%%% 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 system ---%cleardisp('Reinforcement Problem 2.15')numG = [0.1 0.3 0.4] % generate G(z) as TF objectdenG = [1 0.8 0.3 0.76 0.8]G = tf(numG,denG,1) % sampling period = 1.0 spG = pole(G) % poles of G[pp,theta] = xy2p(pG) % magnitudes & angles of polesk = 0:60; % vector of time valuesy = impulse(G,k); % compute delta response of G(z)figurestem(k,y,'o');grid title('Impulse response for Reinforcement Problem 2.15')xlabel('Time (s)')%%%%%%%%%%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -